Multiple choice technology

How many types of ready states in ajax

  1. 4

  2. 3

  3. 5

  4. 6

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Ajax has 5 readyState values: 0 (UNSENT), 1 (OPENED), 2 (HEADERS_RECEIVED), 3 (LOADING), and 4 (DONE). These represent the lifecycle of an HTTP request.