Inherits ScriptObject.
Public Member Functions | |
| XMLHttpRequest () | |
| open (String method, String url, Boolean async, String user, String password) | |
| abort () | |
| setRequestHeader (String name, String value) | |
| send (String data) | |
| String | getResponseHeader (String name) |
Public Attributes | |
| String | response |
| The request response. | |
| String | responseXML |
| Not supported. | |
| Integer | status |
| The status. | |
| String | statusText |
| The status text. | |
XMLHttpRequest support.
Security: Requires security level 0.
| XMLHttpRequest | ( | ) |
Constructs an XMLHttpRequest object.
| abort | ( | ) |
Aborts the request.
Initializes the request.
| method | The request method. |
| url | The connection url. |
| async | True for asynchronous. Not supported. |
| user | The user. |
| password | The password. |
| send | ( | String | data | ) |
Sends the request.
| data | The request body data.(unused for a GET request) |