#UiTechnologies #UiTechnologiesTraining #UiDevelopment
UiTechnologies is the most emerging Technologies in the current Market.
UiTechnologies Training by Naveen Saggam
This Ui Development video contains full of Ui Related Projects and RealTime Approach.
You can most of the knowledge in Ui Technologies with Hands on experience.
For Online Classes Please Contact on +91-9844804533
04. AJAX to fetch JSON data from an External URL | AJAX Tutorial | UiBrains | NAVEEN SAGGAM
The onreadystatechange Property
The readyState property holds the status of the XMLHttpRequest.
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.
Property Description
Onreadystatechange
Defines a function to be called when the readyState property changes
readyState 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
Status
200: "OK"
403: "Forbidden"
404: "Page not found"
statusText
Returns the status-text (e.g. "OK" or "Not Found")
Note: The onreadystatechange function is called every time the readyState changes.
When readyState is 4 and status is 200, the response is ready.
11 сен 2024