Hi, I have a table which has textboxes in its cells. All these textboxes are created and populated dynamically by using PHP. I have to iterate through the cells and get the values.
By using the following code, I am able to get the innerHTML of the cells.
var tblLang = document.getElementById("tbl_Languages");
var tblrows = tblLang.rows;
for(var i=1; i<tblrows.length; i++){
var tblcells = tblrows[i].cells;
alert(tblcells[0].innerHTML);
The output for the given code is
<input background-color="#FFFFFF" haslayout="-1" id="txtname_ENU" value=" English" type="text">
How could I get the value of the inner textbox? Please help me.