Menu
Hello
I am new to JavaScript.
I am using IE6.
Every now and then I get JavaScript errors in my pages and I find it very difficult to find the location of the error.
I get a message saying that the error is in file: x.php on line 5, where in fact the error turns out to be in test.js on line 20!
of course I include test.js in x.php but IE doesn’t know how to give the right file and line for the error!
Is there a simple and preferred way to debug such errors and get to the right file and line?
thanks