Author: Real Gagnon
Author's WebSite: http://tactika.com/realhome/realhome.html
<SCRIPT>
window.onerror = handleErrors; // or null to suppress error message
function handleErrors(msg, url, line)
{
var errorString = "JavaScript Error Report\n";
errorString += "Message: "+msg+"\n";
errorString += "Url: "+url+"\n";
errorString += "Line: "+line;
java.lang.System.out.println(errorString);
return true;
}
</SCRIPT>
Posted On: 10-Jul-1999