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 7434883
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T09:57:56+00:00 2026-05-29T09:57:56+00:00

I’m currently working on a project where some bugs are popping up in our

  • 0

I’m currently working on a project where some bugs are popping up in our jQuery AJAX calls. In most of these cases we have some elements that need to be initialized to do a certain thing when they’re clicked (or for some other event trigger). We’ve decided to fix some of these issues to go with inline scripts at the end of the html instead of relying on the $(document).ready event trigger.

This however led us to wonder what would happen if jQuery library itself (which is being loaded via google) wasn’t loaded quickly enough. Particuarly with IE, will the browser intelligently wait to execute those lines of code until the jQuery library is loaded? Is a race condition in this case possible? So far most of our issues seem to present themselves in IE (even 8 and 9) or in a few cases Firefox.

EDIT:
The change from using the $(document).ready event trigger was suggested in How can I ensure that a link's default action is always disabled? which is also related to this question’s situation. It seems to be working well with the inline script at the bottom of the html. It is unclear at this time whether the issue is because jQuery isn’t loading (or some other element) or if the $(document).ready event is never triggering properly.

  • 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-05-29T09:57:57+00:00Added an answer on May 29, 2026 at 9:57 am

    I don’t see a reason why would placing ajax calls be better outside $(document).ready…actually $(document).ready waits for all files to be loaded…this is why it is used (of course, not the only reason)

    So, as far as your jquery ajax calls are placed inside $(document).ready callback, you can be sure that all your js files are loaded prior to that, and that you should look for cause of your problems on some other place.

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

Sidebar

Related Questions

I have just tried to save a simple *.rtf file with some websites and
I have a jquery bug and I've been looking for hours now, I can't
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example
link Im having trouble converting the html entites into html characters, (&# 8217;) i
For some reason, after submitting a string like this Jack’s Spindle from a text
this is what i have right now Drawing an RSS feed into the php,
I am reading a book about Javascript and jQuery and using one of the
I want use html5's new tag to play a wav file (currently only supported
I have this code to decode numeric html entities to the UTF8 equivalent character.

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.