| 5 | | //summary: Creates a hidden iframe in the page. Used mostly for IO transports. |
| 6 | | // You do not need to call this to start a dojo.io.iframe request. Just call send(). |
| 7 | | //fname: String |
| 8 | | // The name of the iframe. Used for the name attribute on the iframe. |
| 9 | | //onloadstr: String |
| 10 | | // A string of JavaScript that will be executed when the content in the iframe loads. |
| 11 | | //uri: String |
| 12 | | // The value of the src attribute on the iframe element. If a value is not |
| 13 | | // given, then dojo/resources/blank.html will be used. |
| | 5 | // summary: |
| | 6 | // Creates a hidden iframe in the page. Used mostly for IO |
| | 7 | // transports. You do not need to call this to start a |
| | 8 | // dojo.io.iframe request. Just call send(). |
| | 9 | // fname: String |
| | 10 | // The name of the iframe. Used for the name attribute on the |
| | 11 | // iframe. |
| | 12 | // onloadstr: String |
| | 13 | // A string of JavaScript that will be executed when the content |
| | 14 | // in the iframe loads. |
| | 15 | // uri: String |
| | 16 | // The value of the src attribute on the iframe element. If a |
| | 17 | // value is not given, then dojo/resources/blank.html will be |
| | 18 | // used. |
| 111 | | // The HTTP method to use. "GET" or "POST" are the only supported values. |
| 112 | | // It will try to read the value from the form node's method, then try this |
| 113 | | // argument. If neither one exists, then it defaults to POST. |
| | 118 | // The HTTP method to use. "GET" or "POST" are the only supported |
| | 119 | // values. It will try to read the value from the form node's |
| | 120 | // method, then try this argument. If neither one exists, then it |
| | 121 | // defaults to POST. |
| 115 | | // Specifies what format the result data should be given to the load/handle callback. Valid values are: |
| 116 | | // text, html, javascript, json. IMPORTANT: For all values EXCEPT html, |
| 117 | | // The server response should be an HTML file with a textarea element. The response data should be inside the textarea |
| 118 | | // element. Using an HTML document the only reliable, cross-browser way this transport can know |
| 119 | | // when the response has loaded. For the html handleAs value, just return a normal HTML document. |
| 120 | | // NOTE: xml or any other XML type is NOT supported by this transport. |
| | 123 | // Specifies what format the result data should be given to the |
| | 124 | // load/handle callback. Valid values are: text, html, javascript, |
| | 125 | // json. IMPORTANT: For all values EXCEPT html, The server |
| | 126 | // response should be an HTML file with a textarea element. The |
| | 127 | // response data should be inside the textarea element. Using an |
| | 128 | // HTML document the only reliable, cross-browser way this |
| | 129 | // transport can know when the response has loaded. For the html |
| | 130 | // handleAs value, just return a normal HTML document. NOTE: xml |
| | 131 | // or any other XML type is NOT supported by this transport. |
| 123 | | // object properties become hidden form form elements. For instance, a content |
| 124 | | // object of {name1 : "value1"} is converted to a hidden form element with a name |
| 125 | | // of "name1" and a value of "value1". If there is not a "form" property, then |
| 126 | | // the content object is converted into a name=value&name=value string, by |
| | 134 | // object properties become hidden form form elements. For |
| | 135 | // instance, a content object of {name1 : "value1"} is converted |
| | 136 | // to a hidden form element with a name of "name1" and a value of |
| | 137 | // "value1". If there is not a "form" property, then the content |
| | 138 | // object is converted into a name=value&name=value string, by |