javascript - Adding a new row above the first row of a table -
i have table 12 columns. each column have text box. when click on 'add' button, new row should inserted above first row of table. how it? say, if use jquery append(), add row @ end want add @ top of first row.
try
$("#tableid tbody").prepend("<tr>..</tr>");
Comments
Post a Comment