XMLHttpRequest


The XMLHttpRequest(Ajax) object is used to transmit data between the document and the server. The document sends a request and the server responds. Its name is misleading because the data does not have to be in XML format, the data can be in any text based format.

Properties

response

 

-responseText

 

– responseType

 

– responseXML

 

– status

 

– statusText

 

– timeout

 

– upload

 

– withCredentials –

Methods

abort()

 

– getAllResponseHeaders()

 

– getResponseHeader()

 

– open()

 

– overrideMimeType()

 

– send()

 

– setRequestHeader() –

Events

abort

 

– error

 

– load

 

– loadend

 

– loadstart

 

– progress

 

– readystatechange

 

– Numeric value corresponding to the state of the data transmission. 0 = UNSENT 1 = OPENED 2 = HEADERS_RECEIVED 3= LOADING 4 = DONE timeout –

renewdev

I Am Developer And Want To Share My Knowledge With The World..:) ;) . I Have Another Social Networking Website (Renewchat) And For Designing Or Developing Of Website Purpose You Can Contact Me On Renew Coder .. :) ;)

Leave a Reply

Your email address will not be published. Required fields are marked *