JavaScript DHTML/Event onMethod/onError
"onError" Example
<html>
<head>
<script language="JavaScript">
window.onerror = alert("Errors")
</script>
</head>
<body>
</body>
</html>
<html>
<head>
<script language="JavaScript">
window.onerror = alert("Errors")
</script>
</head>
<body>
</body>
</html>