Adding row in table with different label name
<p>In this i am able to change the values of Artificial Intelligence into data structure in next row but again if i click the addrow button again, the same value of datastructure is coming. Can you tell me how to change the names when i keep on adding the rows?</p>

<pre><code>var cell1 = row.insertCell(0); 
cell1.innerHTML = "&lt;center&gt;DataStructure";

var cell2 = row.insertCell(1);
var element2 = document.createElement("input");
cell2.appendChild(element2);

var cell3 = row.insertCell(2);
var element3 = document.createElement("input");
cell3.appendChild(element3);

var cell4 = row.insertCell(3);
var element4 = document.createElement("input");
cell4.appendChild(element4);

 var cell5 = row.insertCell(4);
var element5 = document.createElement("input");
cell5.appendChild(element5);

 var cell6 = row.insertCell(5);
var element6 = document.createElement("input");
cell6.appendChild(element6);
</code></pre>
