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

  • Home
  • SEARCH
  • 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 9120029
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T05:32:16+00:00 2026-06-17T05:32:16+00:00

When you load jquery 1.8.2 with requirejs 2.1.1 – $(document).ready() and $(window).load() events starts

  • 0

When you load jquery 1.8.2 with requirejs 2.1.1 – $(document).ready() and $(window).load() events starts to behave really weird.

Sometimes only one of them are fired sometimes both but in all cases they are fired after all content, images etc are loaded –.load() event.

Switching to jQuery 1.7.2 makes .load() work properly though .ready() acts as .load() and is never fired on real DOM ready event. Am I doing something wrong here or not only me having these issues?

Example (open console and refresh):

http://jsbin.com/epujom/5

Source:

http://jsbin.com/epujom/5/edit

EDIT:
I have updated test case. Now it is clearly seen that jQuery.isReady = false even when DOM is ready

  • 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-17T05:32:18+00:00Added an answer on June 17, 2026 at 5:32 am

    The only way i can achieve a result i wanted is to load in the head section domready plugin like

    https://github.com/freelancephp/DOMReady

    or

    https://github.com/requirejs/domReady

    domready plugin or attaching events should always be ran before actual browser domready event occurs otherwise all of them are waiting for all images to be loaded and that is not what you want.

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

Sidebar

Related Questions

<script type=text/javascript> $(document).ready(function() { $(a).click(function() { $(#results).load( jquery-routing.php, { pageNo: $(this).text(), sortBy: $(#sortBy).val()} );
load.js: jQuery(document).ready(function($) { $('.dialog ul li').click(function(e) { switch($(this).attr('id')) { case 'addProject': $('.addDialog').load('/add/addprojectform'); break; case
I'm trying to configure RequireJS to load jQuery from a different folder on my
I'm trying to load Backbone and Underscore (as well as jQuery) with RequireJS. With
Uncaught Error: Load timeout for modules: order!libs/jquery/jquery-min order!libs/underscore/underscore-min order!libs/parse/parse-min libs/jquery/jquery-min libs/underscore/underscore-min libs/parse/parse-min Backbone http://requirejs.org/docs/errors.html#timeout
I'm hoping to load jquery, jqueryUI, underscore & backbone, and non-AMD jquery plugin's via
When I load jquery using: <script type=text/javascript src=http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js></script> it works on IE9, firefox, chrome,
I am using lazy load jquery plugin . It tells me to put this
This is how I load jQuery: <script src=http://www.google.com/jsapi></script> <script type=text/javascript> function OnLoad() { insert
I wonder if it's possible to load jQuery within Opera User JavaScript , so

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.