SimileAjax/XmlHttp

From SIMILE Widgets
Jump to: navigation, search

Contents

SimileAjax.XmlHttp

Cross-browser XMLHttpRequest handling.

Code: http://api.simile-widgets.org/ajax/2.2.1/scripts/xmlhttp.js

Migration Notes

jQuery provides this as well, and it can be wholly replaced.

Back to SimileAjax.

Methods

SimileAjax.XmlHttp.get

Description: Performs an asynchronous HTTP GET.

SimileAjax.XmlHttp.post

Description: Performs an asynchronous HTTP POST.

SimileAjax.XmlHttp._onReadyStateChange

Description: Callback for XMLHttp onRequestStateChange.

SimileAjax.XmlHttp._createRequest

Description: Creates an XMLHttpRequest object. On the first run, this function creates a platform-specific function for instantiating an XMLHttpRequest object and then replaces itself with that function.

SimileAjax.XmlHttp._forceXML

Description: Force request to request XML.

Back to SimileAjax.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox