// This script works with both Navigator and Internet Explorer. // For this to work with Internet Explorer, you must // define the error handling function first. function myErrorHandler(errorMessage,url,line) { // Handle the error by writing the error arguments to the document // window. document.write("

Error message: "+errorMessage+"
") document.write("URL: "+url+"
") document.write("Line number: "+line+"

") return true } // Then set onerror to the name of the error handling function. // Make sure onerror is all lowercase or else Internet Explorer // won't handle it correctly. onerror = myErrorHandler
Site hosted by Angelfire.com: Build your free website today!

Click to continue