Adding new table rows (with a lil' help from jQuery)
What did the world do before beautiful scripting libraries like jQuery?
They probably smashed out The Big DOM Manipulation book and 'grinded'. Thank heavens we live in a simpler time.
Case in point, to 'add another row' to a table (via a 'click') it's as easy as PIE. Apple, blueberry, code monkey… whatever your passion!
Code snippet - Adding new table rows (with a lil' help from jQuery) on Snipplr
Where your HREF has a class called 'plus_row' and your table has a class called 'index' (you know, targeting - just in case!).
August 12, 2009 [16:13]