Advanced Topics
This chapter contains information about advanced activities in the AJAX Toolkit.
-
QueryResultIterator
Iterate over query results returned by the AJAX Toolkit without invoking queryMore and queryLocator.
-
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 timeout parameter in the callback section of any asynchronous call.
-
AJAX Proxy
Some browsers don’t allow JavaScript code to connect to external servers directly. Therefore, you may need to send requests through the AJAX proxy.