@reference_1_stackoverflow
@reference_2_stackoverflow
@reference_3_google
Showing posts with label ajax. Show all posts
Showing posts with label ajax. Show all posts
Wednesday, December 14, 2016
Monday, December 12, 2016
AJAX - Server Response
The readyState property holds the status of the XMLHttpRequest.
0: request not initialized
1: server connection established
2: request received
3: processing request
4: request finished and response is ready
The onreadystatechange property defines a function to be executed when the readyState changes.
The status property and the statusText property holds the status of the XMLHttpRequest object.
status 200: "OK"
403: "Forbidden"
404: "Page not found"
502: "Bad Gateway"
statusText Returns the status-text (e.g. "OK" or "Not Found")
@reference_1
@reference_2
0: request not initialized
1: server connection established
2: request received
3: processing request
4: request finished and response is ready
The onreadystatechange property defines a function to be executed when the readyState changes.
The status property and the statusText property holds the status of the XMLHttpRequest object.
status 200: "OK"
403: "Forbidden"
404: "Page not found"
502: "Bad Gateway"
statusText Returns the status-text (e.g. "OK" or "Not Found")
@reference_1
@reference_2
Subscribe to:
Posts (Atom)