Share this page 

Have your own error messageTag(s): Language


<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>