[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 /body makes everything

[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

[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