/ Published in: JavaScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$('a.plus_row').each(function(e) { $(this).click(function(event) { event.preventDefault(); var last_row = $('table.index tr:last'); $(last_row).clone(true).insertAfter($(last_row)); }); });
URL: http://bettesmidler.com/code/2009-08-12.htm