Friday, 16 August 2013

Adding a new row above the first row of a table

Adding a new row above the first row of a table

I have a table with 12 columns. Each column would have a text box. When I
click on an 'Add' button, a new row should be inserted above the first row
of the table. How would I do it? Say, if I use jquery append(), it would
only add the row at the end but I want to add at the top of the first row.

No comments:

Post a Comment