| Author |
Unterminated string constant
|
Sumi Kuppusamy
Greenhorn
Joined: Apr 21, 2006
Posts: 15
|
|
I'm getting unterminated string constant error. It says Line 16 and I hve no code from line 1 to line 24. This error is not coming in Mozilla. Can anyone pls help in figuring out the error location. Thanks in Advance
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56185
|
|
|
Do you not think it might be useful to show us the code?
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Sumi Kuppusamy
Greenhorn
Joined: Apr 21, 2006
Posts: 15
|
|
|
The file has more than 2000 lines, also its not part of the code it throws the error. I did file comparison of view source of 2 files, one which throws this error and one which doesnt throw this exception, there were no differences.
|
 |
Yuriy Fuksenko
Ranch Hand
Joined: Feb 02, 2001
Posts: 413
|
|
so, its magic when you say it is not happening in Mozilla, you mean the dialog is not showing, or that you looked at "Tools->JavaScript console" and there is no error there? Also, if your file is to big to post on a forum, you can put it somewhere else and give us a link to it. with line number, if you have js files used with script tags, IE will actually give you a line number within such file.
|
 |
Sumi Kuppusamy
Greenhorn
Joined: Apr 21, 2006
Posts: 15
|
|
|
Thanks Yuriy. I was thinking I will get the dialog box in mozilla like IE. Using Javascript console in mozilla, I were able to figure out the exact location of that error. Thanks a lot.
|
 |
 |
|
|
subject: Unterminated string constant
|
|
|