I want, something like this...
[code]
var trToDuplicate = $(this).parent('td').parent('tr'); //(TR, ROW, that i want to copy)
//clone, and add a new row, with the same data...columns, etc.
tblSale.fnAddData(trToDuplicate, false); [/code]
Please...Help! how i can copy or clone a row that was previously created by fnAddData,...and that this tr, and td has new attributes that i added with .attr()...
and insert under the row that i want to copy or clone.
Replies
[code]
var trToDuplicate = $(this).parent('td').parent('tr'); //(TR, ROW, that i want to copy)
//clone, and add a new row, with the same data...columns, etc.
tblSale.fnAddData(trToDuplicate, false); [/code]
and insert under the row that i want to copy or clone.