Re: [jQuery] IE7 and document.ready

2006-10-10 Thread Brian Miller
Yes, $(document).ready() should only happen once - when the document is first ready. What you're using for magic would infuriate developers on most other projects! :) You should have a separate function for an ajax callback to do whatever you're doing, even if it's the same code, and you're

Re: [jQuery] IE7 and document.ready

2006-10-10 Thread Mike Alsup
Can you post a test page because that sure doesn't happen for me. Mike Ok then jQuery is broken ;) $(document).ready() fires each time i load new ajax content in both FF and IE (lower than 7) ___ jQuery mailing list discuss@jquery.com

Re: [jQuery] IE7 and document.ready

2006-10-10 Thread Brandon Aaron
$(document).ready() will immediately fire functions passed in after the $(document).ready() function has already been called. Or at least that is what the code says it should do. -- Brandon Aaron On 10/10/06, Mike Alsup [EMAIL PROTECTED] wrote: Can you post a test page because that sure

Re: [jQuery] IE7 and document.ready

2006-10-10 Thread Webunity | Gilles van den Hoven
Mike Alsup wrote: Can you post a test page because that sure doesn't happen for me. Mike I've tracked down the problem to IE7 in standalone mode. I am almost certain that that is the problem. It sometimes just keeps hanging on (1 item remaining) and thus not firing the $(document).ready()

Re: [jQuery] IE7 and document.ready

2006-10-10 Thread Jörn Zaefferer
Brandon Aaron schrieb: $(document).ready() will immediately fire functions passed in after the $(document).ready() function has already been called. Or at least that is what the code says it should do. Good point. Maybe this should be added to the documentation for the ready event. --

Re: [jQuery] IE7 and document.ready

2006-10-09 Thread Jörn Zaefferer
Webunity | Gilles van den Hoven schrieb: Hi Guys, Just found another document.ready bug at least i hope it is a bug :) The document.ready is not firing in IE7 when loading content via ajax into a DIV. Is this a common problem which is allready known? Someone might have a fix for this?