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
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
$(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
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()
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.
--
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?