From: Brehm, R. P <rob...@of...> - 2004-11-24 00:02:06
|
Hi, I have an application that uses javascript syntax that is not supported by version 1.3 as follows.. ssnTableRows[i].getElementsByTagName("td").item(1).style.backgroundColor="white"; The error thrown is the following: com.gargoylesoftware.htmlunit.ScriptException: item is not a function. The above syntax does work in IE6 to set the cell background color to white. Is there any way currently to tell the javascript interpreter to ignore javascript errors? That is try to process commands but if the command is malformed or not supported then continue? If not then I believe this would be a very useful enhancement. Regards, Bob Brehm Software Engineer Xerox Corp. |