Hello,
I am adding a row dynamically to the table ,
now i want to set attributes to the new row added such as id, class etc
How can i do that.
Please help
Thanks in advance
I am adding a row dynamically to the table ,
Code:
var table = document.getElementById('example');
var rowCount = table.rows.length;
var row = table.insertRow(rowCount);
How can i do that.
Please help
Thanks in advance
Comment