Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8895137
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T23:41:48+00:00 2026-06-14T23:41:48+00:00

I was re-watching a video from WWDC12 on advanced effects with HTML5 and noticed

  • 0

I was re-watching a video from WWDC12 on advanced effects with HTML5 and noticed that for the demo they used req.addEventListener("load",callback,true) rather than the usual onreadystatechange.

What are the differences between the load event and state=4 status=200 situation?
Is it the same load event being fired or two different ones?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T23:41:50+00:00Added an answer on June 14, 2026 at 11:41 pm

    The load event only indicates that the request was a network success, not necessarily an HTTP success. An Ajax request with always either fire a load event or an error event, indicating the success or failure of the network transaction (as part of the Progress Events specification):

    • The error event fires when the network fetch fails due to the server being down or on an inaccessible domain (i.e., the request is blocked by the same-origin policy).

    • Otherwise, load fires, regardless of the HTTP code returned.

    The load or error event always fires last, after the last readstatechange event has fired, so you can be sure that the load or error callback is running with xhr.readyState == 4 and xhr.status set to the correct HTTP response code.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was watching this video tutorial and I noticed he said that he's added
Introduction After watching this video from LIDNUG, about .NET code protection http://secureteam.net/lidnug_recording/Untitled.swf (especially from
After watching this Google I/O video on GWT performance it is obvious that the
i am watching a video stream from a proprietary app and i want to
I was watching Advance Text Handling for iPhone OS video from WWDC. I really
I was watching a video from plural-sight on hosting a WCF service in IIS
I'm watching a video course/lectures from Stanford. The course is The Structure and Interpretation
I was watching a video from, //build/ and several of the MS developers were
I'm watching this Chrome Dev Tools evolution video from Google IO 2012 and then
I am currently watching a video from 27C3 and I would like to filter

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.