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