http://www.google.com/apis/maps/documentation/
This function provides a convenient way to asynchronously retrieve a resource identified by a URL. Notice that, since the XmlHttpRequest object is used to execute the request, it is subject to the same-origin restriction of cross-site scripting, i.e. the URL must refer to the same server as the URL of the current document that executes this code. Therefore, it is usually redundant to use an absolute URL for the url argument, and it is better to use an absolute or relative path only.
Function | Return Value | Description |
---|---|---|
GDownloadUrl(url, onload) | none | Retrieves the resource from then given URL and calls the onload function with the text of the document as first argument, and the HTTP response status code as the second. This is subject to cross site scripting restrictions. Uses the underlying XmlHttpRequest implementation of the browser. |