Hi,
I have following javascript function which works fine under Internet Explorer 6.0.
function ClearTable() { str = window.Tbl.rows.length-1 str1 = window.TblYield.rows.length-1 for(k = str1; k > 2; k--) window.TblYield.deleteRow(k) }
However, HTTPUnit raises JavaScriptException for Tbl, reporting
TypeError: "Tbl" is not defined
Am I missing something?. I would really appreciate somebody's help on this.
Also if somebody can help similar undefined problem with href that would be great too.
thanks in advance!
Laxman
I'm having the same problem. Have you figure out what to do?
Any thoughts.
Nick Neuberger
Log in to post a comment.
Hi,
I have following javascript function which works fine under Internet Explorer 6.0.
function ClearTable()
{
str = window.Tbl.rows.length-1
str1 = window.TblYield.rows.length-1
for(k = str1; k > 2; k--)
window.TblYield.deleteRow(k)
}
However, HTTPUnit raises JavaScriptException for Tbl, reporting
TypeError: "Tbl" is not defined
Am I missing something?. I would really appreciate somebody's help on this.
Also if somebody can help similar undefined problem with href that would be great too.
thanks in advance!
Laxman
I'm having the same problem. Have you figure out what to do?
Any thoughts.
Nick Neuberger