i m creating td in javascript what i want is this "<td id='abc'>"
how can i set the td id in javascript i use setAtteribute()
not working
my code look like this
var cell4 = row.insertCell(3);
cell4.innerHTML = "Song";
var cell5 = row.insertCell(4);
cell5.setAttribute('id','example1');
i want to set id of the td with value example plz help