+ 4

I want to transfer the complete table row data with id="table_data", to another row with id="table_data_two". On click of button

<table border=""> <tr id="table_data"> <td>this data</td> <td>this also</td> <td>this too</td> </tr> </table> <table border=""> <tr id="table_data_two"> </tr> </table> <button>click me</button>

25th Sep 2017, 2:53 PM
PULKIT DUBEY
PULKIT DUBEY - avatar
1 ответ
+ 2
Use DOM in JS to get and copy. If you need, you can do it with loop
25th Sep 2017, 4:06 PM
Daniel
Daniel - avatar