Could someone please explain why I am receiving the error:
"Object expected"
when I run this code:
strTemp = document.all("Table".rows(0).cells(0).innerHTML;
intTempHTML = strTemp.indexOf("&"
strTemp = strTemp.substring(0, intTempHTML);
document.all("Table".rows(0).cells(0).innerHTML = strTemp;
I have printed out the variables after each step, and everything appears fine until it hits the last line. I normally script using VBScript, so the javascript nuances are new to me. Any help would be greatly appreciated. Thanks!
Tim
"Object expected"
when I run this code:
strTemp = document.all("Table".rows(0).cells(0).innerHTML;
intTempHTML = strTemp.indexOf("&"
strTemp = strTemp.substring(0, intTempHTML);
document.all("Table".rows(0).cells(0).innerHTML = strTemp;
I have printed out the variables after each step, and everything appears fine until it hits the last line. I normally script using VBScript, so the javascript nuances are new to me. Any help would be greatly appreciated. Thanks!
Tim