Page 1 of 1

jQuery not executing always...

Posted: Sat Mar 22, 2008 1:19 am
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?

Re: jQuery not executing always...

Posted: Sat Mar 22, 2008 7:39 am
by kaszu
Are you using

Code: Select all

$(document).ready(function () {
    ....
});
?

Re: jQuery not executing always...

Posted: Sat Mar 22, 2008 12:23 pm
by alex.barylski
yes