[jQuery] Evaluating javascript inside of html fetched via $.get
Hi All,
We have an interesting problem... we are fetching html via $.get to be
appended to the page. The pages we're fetching also have script tags
in them and use $(document).ready to attach event handlers for those
pages.
The problem we're having is that those $(document).ready methods never
get fired. Further, we don't seem to be able to call the methods from
those separate js files included, although we do see that the js files
were pulled in (via firebug) and placing alerts in those pages do show
that they are parsed.
So what is going on? ;)
we're just using $(dataReturned).appendTo("#someElementWithThisId");
Thanks,
James