Hi, Thanks for pointing me to the bug report. Someone suggested a simple solution for it. The problem as described in the report was that the IE strips out the script if it is a first character of the page. By inserting a false div <div style="height=0px">&nbsq;</div> , I was able to get rid of the problem.
Regards, Ritesh malsup wrote: > >> I will try to narrate the actual scenario. I have a list of buttons on my >> home page. When a user clicks on one of the button, it loads a list >> (select >> > option). Any selection made on the list loads another div (again using >> ajax) and I use jquery to load the second div. This all works as expected >> in >> Firefox but as soon as I try to get it working on IE7, it fails. I tried >> debugging and found that the second $(document).ready (loaded with ajax >> load) never got fired. > > Ritesh, > > Read through this bug - perhaps this is what's causing your issue: > > http://jquery.com/dev/bugs/bug/746/ > > > To add a callback to the load method, simply do this: > > $('#myElement').load(myUrl, function(serverResponseData) { > // this is the callback > }); > > _______________________________________________ > jQuery mailing list > [email protected] > http://jquery.com/discuss/ > > -- View this message in context: http://www.nabble.com/JQuery-IE7-and-document.ready-tf3207782.html#a8912603 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
