Hi.
How many types of ready states in AJAX?
States in AJAX
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Satyapriya NayakRank #47 · 31.5K reputationPosted Nov 27, 2011, 4:42 AM EST
There are 5 states in Ajax they are
0: request not initialized
1: server connection established
2: request received
3: processing request
4: request finished and response is ready
It Holds the status of the XMLHttpRequest. Changes from 0 to 4
Thanks