
January 22nd, 2002, 05:47 PM
|
|
Junior Member
|
|
Join Date: Dec 2001
Posts: 28
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
hey, i think that binky gave you exactly what you were asking for, you ***.
Code:
window.onerror = handleError;
function handleError() {
// any custom error code here
return true;
}
this works in IE 6, and i don't feel like testing it elsewhere.
or, you could do this if you only want to supress the error:
Code:
window.onerror = null;
Last edited by mccutchen : January 22nd, 2002 at 08:33 PM.
|