|
|
Q1248 Why do I get a strange error on a page with both javascript and vbscript?
irt.org | Knowledge Base | JavaScript | Bugs | Q1248 [ previous next ] Q1248 Why do I get a strange error on a page with both javascript and vbscript?
Affects:
Errors such as "end of statement expected" and "cannot use parens" They appear if you have a VBScript in the head BEFORE a JavaScript and then call the JavaScript function from a handler in the page. It is due to Internet Explorer setting the default scripting language to VBScript and then it gets JavaScript in a handler instead. Solution: Add LANGUAGE="JavaScript" to the tag in question.
|
-- div -->
|