[jQuery] Ajax and jQuery paths
I would like to make use of the Ajax-part of jQuery, to avoid long load
times. But I can't do what I want. See this example:
$(document).ready(function(){
$("div#table").load("/ajaxtable/");
$("a").click(function () {
$(this).hide();
});
});
When clicking a link, it is going to hide. It works very well with the links
_not_ loaded by Ajax. But the links on the Ajax-siite doesn't react at all!
Is there a way to use $(...) on parts loaded by the load()-function?
Best regards,
Søren Haagerup
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/