PDA

View Full Version : Starting External Script


johnmayer
09-06-2002, 11:02 PM
I've noticed that Mozilla gives me this message every time I try to run a script

Error: illegal character
Line: 1, Column: 1
Source Code:


Error: illegal character
Line: 1, Column: 1
Source Code:
function chngit() {

Whats the problem? Character encoding? or am I supposed to start an external script with something... I just start the script right off the bat.

adios
09-06-2002, 11:34 PM
Any HTML in that 'external' script?

'External' scripts are just scripts, externally stored. All the usual rules apply.

boywonder
09-07-2002, 12:17 AM
Originally posted by adios
Any HTML in that 'external' script? Namely <script> tags in the external script would be a possible cause. Can you post the external script?