Return to Snippet

Revision: 23508
at February 8, 2010 19:23 by browncardigan


Initial Code
$('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));
	});
});

Initial URL
http://bettesmidler.com/code/2009-08-12.htm

Initial Description

                                

Initial Title
Adding new table rows (with a lil' help from jQuery)

Initial Tags
jquery

Initial Language
JavaScript