You can use the .clone() method to achieve this. When the button is
clicked, clone the last row of the table then change any specific IDs.

$('.button').click(function(){
  var newRow = $('table tbody tr:last').clone();
  $('table tbody').append(newRow);
});

Brian

On Sep 10, 7:29 am, Babu PCA <[EMAIL PROTECTED]> wrote:
> Hi
>
> I need a help
>
> I have a table in which some 100 rows are there, each row contain a
> button, when i click button i want to add a new row below this row
> only how can i do this ?
>
> can any one help me
>
> Thanks

Reply via email to