/ Published in: JavaScript
Trying to extract these cells from a web page using Firebug, alls well until last row printed then it hangs
Expand |
Embed | Plain Text
var etrows = document.getElementsByTagName("tbody")[3].rows newdoc = document.open(); for (i=5; i <= etrows.length-3; i++) { newdoc.write(i + " "); newdoc.write(etrows[i].cells[0].textContent); newdoc.write(etrows[i].cells[1].textContent); newdoc.write(etrows[i].cells[3].textContent); newdoc.write(etrows[i].cells[5].textContent); newdoc.write("<br/>"); }
You need to login to post a comment.
