jQuery not executing always...

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

jQuery not executing always...

Post by alex.barylski »

I should actually update my jQuery library first but...

I use jQuery to manipulate the interface -- enabling buttons during onload, etc. The problem isn't as frequent on my faster computer, but on my slower machine it's about once every 12 refreshes.

What I think is happening, is the jQuery is not executing and the buttons are staying disabled. A simple refresh solves the problem.

Is this just due to the delay on some requests? All the HTML and JS is being downloaded as I've viewed the source trying to figure out WTF was happening.

Anyone know if this was maybe a known issue which has since been rectified?
User avatar
kaszu
Forum Regular
Posts: 749
Joined: Wed Jul 19, 2006 7:29 am

Re: jQuery not executing always...

Post by kaszu »

Are you using

Code: Select all

$(document).ready(function () {
    ....
});
?
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Re: jQuery not executing always...

Post by alex.barylski »

yes
Post Reply