OpenLayers JavaScript Mapping Library OpenLayers Ajax |
OpenLayers/ Ajax.jsSummary
loadURL
Background load a document. Parameters
Both callbacks optional (though silly) serializeXMLToString
Wrapper function around XMLSerializer, which doesn’t exist/work in IE/Safari. We need to come up with a way to serialize in those browser: for now, these browsers will just fail. #535, #536 Parametersxmldom {XMLNode} xml dom to serialize Returns{?} |
Background load a document.
OpenLayers.loadURL = function( uri, params, caller, onComplete, onFailure )
Parse XML into a doc structure
OpenLayers.parseXMLString = function( text )
emptyFunction: function ()
{Object} Transport mechanism for whichever browser we’re in, or false if none available.
getTransport: function()
register: function( responderToAdd )
dispatch: function( callback, request, transport, json )
onCreate: function()
onComplete: function()
setOptions: function( options )
{Boolean}
responseIsSuccess: function()
{Boolean}
responseIsFailure: function()
request: function( url )
setRequestHeaders: function()
onStateChange: function()
{?}
header: function( name )
{?}
evalJSON: function()
{?}
evalResponse: function()
respondToReadyState: function( readyState )
dispatchException: function( exception )
OpenLayers.Ajax.getElementsByTagNameNS = function( parentnode, nsuri, nsprefix, tagname )
Wrapper function around XMLSerializer, which doesn’t exist/work in IE/Safari.
OpenLayers.Ajax.serializeXMLToString = function( xmldom )