Login Register Help
API Documentation
Choose a stylesheet:

Constructordojo.io.iframe.__ioArgs

dojo.require("dojo.io.iframe");
defined in dojo/io/iframe.js
All the properties described in the dojo.__ioArgs type, apply to this type. The following additional properties are allowed for dojo.io.iframe.send():
(NB: This is a named arguments object and not meant to be instantiated.)

Jump to PropertiesFunctionsBack to top

All the properties described in the dojo.__ioArgs type, apply to this type. The following additional properties are allowed for dojo.io.iframe.send():
Defined by dojo.__IoArgs
function(response, ioArgs){} response is of type Object, ioArgs is of type dojo.__IoCallbackArgs. This function will be called when the request fails due to a network or server error, the url is invalid, etc. It will also be called if the load or handle callback throws an exception, unless djConfig.debugAtAllCosts is true. This allows deployed applications to continue to run even when a logic error happens in the callback, while making it easier to troubleshoot while in debug mode.
Defined by dojo.__IoArgs
function(response, ioArgs){} response is of type Object, ioArgs is of type dojo.__IoCallbackArgs. This function will be called at the end of every request, whether or not an error occurs.
Defined by dojo.__IoArgs
function(response, ioArgs){} response is of type Object, ioArgs is of type dojo.__IoCallbackArgs. This function will be called on a successful HTTP response code.

Jump to FunctionsPropertiesBack to top

Overrides dojo.__IoArgs
If "form" is one of the other args properties, then the content object properties become hidden form form elements. For instance, a content object of {name1 : "value1"} is converted to a hidden form element with a name of "name1" and a value of "value1". If there is not a "form" property, then the content object is converted into a name=value&name=value string, by using dojo.objectToQuery().
Defined by dojo.__IoArgs
DOM node for a form. Used to extract the form values and send to the server.
Overrides dojo.__IoArgs
Specifies what format the result data should be given to the load/handle callback. Valid values are: text, html, xml, json, javascript. IMPORTANT: For all values EXCEPT html and xml, The server response should be an HTML file with a textarea element. The response data should be inside the textarea element. Using an HTML document the only reliable, cross-browser way this transport can know when the response has loaded. For the html handleAs value, just return a normal HTML document. NOTE: xml is now supported with this transport (as of 1.1+); a known issue is if the XML document in question is malformed, Internet Explorer will throw an uncatchable error.
The HTTP method to use. "GET" or "POST" are the only supported values. It will try to read the value from the form node's method, then try this argument. If neither one exists, then it defaults to POST.
Defined by dojo.__IoArgs
Default is false. If true, then a "dojo.preventCache" parameter is sent in the request with a value that changes with each request (timestamp). Useful only with GET-type requests.
Defined by dojo.__IoArgs
Milliseconds to wait for the response. If this time passes, the then error callbacks are called.
Defined by dojo.__IoArgs
URL to server endpoint.