Object methods



Followings are the methods in the XMLHttpRequest object supported by Safari1.2,Mozilla and Windows IE 5.0 or later


 


 


 


































Method

 



 



Description

 



 



abort()



Stops the current request



getAllResponseHeaders()



Returns complete set of headers (labels and values) as string



getResponseHeader(“headerLabel”)



Returns string value of a single header label



open(“method”,“URL”,[. asyncFlag[,”userName” [,”password”]]])



This method is used to sets up a new request to server.


Its parameters specify destination URL,sending method and other optional attributes of a pending request


Sending method is either Post or Get



send(content)



Transmit the request,optionally with post-able string or DOM object data



setRequestHeader(“label”,“value”)



Assign a label/value pair to the header to be sent with a request



 


 


 


 


 


 

                    

Copyright © 2012 VisualBuilder. All rights reserved