[jQuery] jQuery Not Working Inside .load-ed Content

[jQuery] jQuery Not Working Inside .load-ed Content

Say you have this (simplified of course) saved as template.html:
<div>
<a>Click</a>
</div>
Now say you run the following jQuery:
$("a").click(function(){
$("div").load("template.html");
return false;
});
It runs fine, and when I click the link fetches the page it already
was and inserts another <div> with an <a> in it. Whats strange is if
you try and click the <a> again after having already had it been
.load-ed, jQuery won't work on it and the page will just follow the
actual link.
This is a bit hard to explain but basically the .load-ed content isn't
recognized by jQuery.
--
Best Regards,
Nate Wienert
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/