[jQuery] jTemplate and AJAX ?

[jQuery] jTemplate and AJAX ?


I have tested the use of jQuery, jTemplates and AJAX together with
asp.net shown in this blog :
http://encosia.com/2008/08/20/easily-build-powerful-client-side-ajax-paging-using-jquery/
And i got everything to work against my library of methods. However i
need to set some event handlers to the data i load through AJAX and i
can't get it to work. This is what I have tryed :
function addClickHandlers() {
$("a.remote", this).click(function(e) {
e.preventDefault;
$("#RSSTable").load(this.href, addClickHandlers);
alert('Testing event handler');
});
}
$(document).ready(addClickHandlers);
As I understand from the jQuery docs then I have to do it this way to
prevent memory leaks. Can someone point me in the right direction on
how to do this ?