Hi folks, hope you can help.
I've written a window.onerror function that retrieves the line number etc of the error and it works great.
My issue lies with when my external JavaScript.js won't load i.e i've typed vrar instead of var or missed a curly brace.
I still get the yellow exclamation telling me 'Object Expected' but as the JavaScript hasn't loaded properly my window.onerror doesnt function/run.
Will I have to create seperate script tags and window.onerror functions in each of my individual pages rather than reference the onerror function from my main external JavaScript file?
Any other ideas are welcome.
Cheers



Reply With Quote

Bookmarks