section_right table ref_details each function link var new TableLoader

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
$$("#section_right table a.ref_details").each(function(link) {
var t = new TableLoader({
image: link.firstChild,
href: link.href,
ajax_rows_selector: "#section_right table tr.ajax_" + link.parent().parent().id
});
link.onClick(function(event) {
event.stop();
t.toggle();
});
});