Forum Discussion
dhanapal1
14 years agoContributor
Hi
I had gone through this thread and html table parsing. I am asking doubt from that article only. I am not getting the value for cel1.innerText value. pls help me in coding part. Verify the coding wheather i did any mistake in coding part. whenever I try to display it shows undefined or some time it will be blank.
var i, j, Cel1;
Log["AppendFolder"]("Table");
for (i = 0; i< 5; i++)
{
Log["AppendFolder"]("Row " + i);
// Goes through cells
for (j = 0; j < 4; j++)
{
// Obtains the cell
Cel1 = table["Cell"](i, j);
// Posts the cell's text to the log
Log["Message"]("Cell " + j + ": " + aqObject["GetPropertyValue"](Cel1, "innerText"));
Log["Message"]("Cell " + j + ": " + Cel1["innerText"]);
}
Log["PopLogFolder"]();
}
Log["PopLogFolder"]();
}
I had gone through this thread and html table parsing. I am asking doubt from that article only. I am not getting the value for cel1.innerText value. pls help me in coding part. Verify the coding wheather i did any mistake in coding part. whenever I try to display it shows undefined or some time it will be blank.
var i, j, Cel1;
Log["AppendFolder"]("Table");
for (i = 0; i< 5; i++)
{
Log["AppendFolder"]("Row " + i);
// Goes through cells
for (j = 0; j < 4; j++)
{
// Obtains the cell
Cel1 = table["Cell"](i, j);
// Posts the cell's text to the log
Log["Message"]("Cell " + j + ": " + aqObject["GetPropertyValue"](Cel1, "innerText"));
Log["Message"]("Cell " + j + ": " + Cel1["innerText"]);
}
Log["PopLogFolder"]();
}
Log["PopLogFolder"]();
}
Related Content
- 3 years agoprekar
- 2 years agoKellyWiegand
- 3 years agoopaciga
Recent Discussions
- 6 hours agoMW_Didata
- 17 hours agod_gfleetwood92