I am running the capScrAndSendMail() function using the following JScript file upon the click of a link as a reference in one of my pages (within the function, I am calling upon an
applet embedded in the page which contains a method that returns a
String value):
When I render my page in IE 6, I get the following error on the scripting console (i.e. the alert on the status bar):
Line: 12
Char: 14
Error: Expected Identifier
Code: 0
This happens as soon as I load my page (without clicking on the link i.e.). When I refresh my page, the error seems to vanish.
I cannot spot the reason for this error being thrown even without the running of the aforementioned function. I haven't done a whole lot of Javascripting, but I cannot spot any syntactical errors either.
Can anyone help me with this? Thank you.
P.S. I'd really like to know which line the scripting console is referring to. Is it purely indicating the line in the JScript file? Or in the rendered HTML page? Does it take blank lines into account while indicating the line number?
[ July 02, 2008: Message edited by: Sridhar Venkataraman ]