[jQuery] Re: $(document).ready does not work in IE

2008-01-17 Thread polyrhythmic
> FWIW, I have not used 1.2.x yet (too many plugins written for 1.x to > test), so am not sure if this holds true (as an issue or a workaround) > for 1.2.x. The $(document).ready does have some major changes between certain versions. What version of jQuery are you using? The .ready() code has b

[jQuery] Re: $(document).ready does not work in IE

2008-01-17 Thread Jack Killpatrick
I've had problems with .ready() in IE, too, but have found that adding a setTimeout() usually works as a workaround: $(document).ready(function() { setTimeout(function() { // making IE happy (and sometimes Safari) doSomething(); }, 500); }); Sometimes the timeout length (500 abov

[jQuery] Re: $(document).ready does not work in IE

2008-01-17 Thread Cloudream
give a demo page link :) On Jan 17, 4:12 pm, andy9989 <[EMAIL PROTECTED]> wrote: > Hi All > > A simple script starting from > >         $j(document).ready( >         function(){ >         >        }) > > Does not work in IE (FF and other browsers are OK). Placing it before > makes every

[jQuery] Re: $(document).ready does not work in IE

2008-01-17 Thread Jesper Rønn-Jensen
I expect the "J" is on purpose in "$j" as you write? This example here works for me: $(document).ready( function(){reca_clickable(); } ); where reca_clickable() is a named function. Don't know if that helped you? /Jesper