cdomigan schrieb:
Hi everyone,
I'm doing something like this:
$("#myDiv").load("/foo/bar.php");
Now I understand .load() evaluates script tags - are these evaluated
after the content has been added to the dom? I did have $
(document).ready() calls in my attached script, but it occurred to me
that there is probably no concept of a document being "ready" when
dealing with an ajax call. Is this correct?
Dunno how exactly that behaves when loaded later, but in general: Any
events that are registered for the ready event after that fired are
executed immediatly. So any ready event handler registered via load()
should be called immediately, too.
--
Jörn Zaefferer
http://bassistance.de