• open(“method”, “URL”)
• open(“method”, “URL”, async, username, password)
– Assigns destination URL, method, etc.
• send(content)
– Sends request including postable string or DOM object data
• abort()
– Terminates current request
• getAllResponseHeaders()
– Returns headers (labels + values) as a string
• getResponseHeader(“header”)
– Returns value of a given header
• setRequestHeader(“label”,”value”)
– Sets Request Headers before sending
Wednesday, January 16, 2008
Methods available in XMLHttpRequest Object
at 1:52 PM
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment