There are five types of active states available in AJAX. Here are those:

  • request not initialized - ready state 0
  • server connection established - ready state 1
  • request received - ready state 2
  • processing request - ready state 3
  • request finished, and the response is ready - ready state 4
BY Best Interview Question ON 08 Mar 2020