| 6:00 am on Oct 6, 2006 (gmt 0)|
| 10:04 am on Oct 6, 2006 (gmt 0)|
The line number that is reported could be in one of your external JS files - although IE always reports the URL of the main HTML page.
| 12:43 pm on Oct 6, 2006 (gmt 0)|
What does the error message say?
| 11:47 pm on Oct 11, 2006 (gmt 0)|
The console shows no errors in Firefox. alert("OK DDD") is executed successfully in Firefox. The error only occurs in IE.
|Cant see problem with what you posted, perhaps larger snippet would help |
I can't see a problem with it either! But that is where it fails: IE shows alert("OK CCC") and then gives an error message before it gets to alert("OK DDD")... the really strange thing is that there is no actual code in between them.
|What does the error message say? |
It says "Expected Identifier".
| 12:26 am on Oct 12, 2006 (gmt 0)|
Well, you may already know this, but here's the page MSDN has on that error: [msdn2.microsoft.com...]
What happens if you put a timeout after the first alert and before the second?
[edited by: Rambo_Tribble at 12:31 am (utc) on Oct. 12, 2006]
| 1:00 am on Oct 12, 2006 (gmt 0)|
Try changing alerts to defaultStatus = "Ok CCC"; etc and look at status line at time of error. There may be a timing issue with some other code executing between or during alerts.