Advanced Topics
This chapter contains information about advanced activities in the AJAX Toolkit.
-
Iterate over query results returned by the AJAX Toolkit without invoking
queryMoreandqueryLocator. -
Differences in Escaping Reserved Characters
If you have a single quote or backslash in a string literal, use two backslashes instead of one to escape it.
-
Working with Base64 Binary Encoded Strings
When working with Base64 encoded binary documents, access the document directly using the Id, rather than decoding Base64 in JavaScript.
-
Timeout Parameter for Asynchronous Calls
If an asynchronous call does not complete in an appropriate amount of time, you can end the call. To do this, specify the
timeoutparameter in the callback section of any asynchronous call. -
Some browsers don’t allow JavaScript code to connect to external servers directly. Therefore, you may need to send requests through the AJAX proxy.