+ 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>
1 ответ
+ 2
Use DOM in JS to get and copy. If you need, you can do it with loop