• onreadystatechange
– Event handler that fires at each state change
– You implement your own function that handles this
• readyState – current status of request
– 0 = uninitialized
– 1 = loading
– 2 = loaded
– 3 = interactive (some data has been returned)
• This is broken in IE right now
– 4 = complete
• status
– HTTP Status returned from server: 200 = OK
• responseText
– String version of data returned from server
• responseXML
– XML DOM document of data returned
• statusText
– Status text returned from server
Wednesday, January 16, 2008
XMLHttpRequest Properties
at 1:55 PM
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment