Ask Question Sign In Sign Up
Home
Sign In
Sign Up
  • Home
  • >
  • Technology
  • >
  • What is difference between xhr.status and xhr.readyState?
Arts Real Estate Legal Human Resources Fitness & Wellness Retail Building & Construction Sales & Business Development Education Media Healthcare Technology Marketing Common Job Roles
Category
Arts
Real Estate
Legal
Human Resources
Fitness & Wellness
Retail
Building & Construction
Sales & Business Development
Education
Media
Healthcare
Technology
Marketing
Common Job Roles

What is difference between xhr.status and xhr.readyState?

Member

kamryn.gulgowski

by kamryn.gulgowski , in category: Technology , 2 years ago

What is difference between xhr.status and xhr.readyState?

0 | 0
0
Facebook Twitter LinkedIn Telegram Whatsapp

1 answer


Member

graciela.bogisich

by graciela.bogisich , 2 years ago
  • xhr.status: used to determine whether the request was successful or not.
  • xhr.readyState: the state of the request'
  • xhr.readyState zero(0) means "has not yet been sent"
  • xhr.readyState zero(4) means "complete and response received"

The server provides the status, while the user agent provides the readyState.

0 | 0
0
15

Related Threads:

What is the difference between DISTINCT and GROUP BY?

What is the difference between class and an object?

What is difference between InnoDB and MyISAM?

Explain the difference between HTTP and HTTPS.

What is the basic difference between overloading and overriding?

Explain the difference between HTML, CSS, and JavaScript.

About us

  • Contact us
© 2023 Copyright: theinternettoday.net

This Site is Created By mywebforum.com

Get Your Own Questions & Answers platform