my problem is when i try to catch error like this :
PHP:
--------------------------------------------------------------------------------
window.onerror =handleError;
--------------------------------------------------------------------------------
the error isnt show in the browser but the function
handleError() isnt triggered :
PHP:
--------------------------------------------------------------------------------
function handleError() {
alert("error");
}
--------------------------------------------------------------------------------
but when i do :
PHP:
--------------------------------------------------------------------------------
window.onerror =handleError();
--------------------------------------------------------------------------------
the function IS triggered but immediatly after it i am getting from the browser the message :
quote:
--------------------------------------------------------------------------------
NOT Implemented
--------------------------------------------------------------------------------
why is that?
what to do?
thnaks in advance
peleg
javascritp : window.onerror on IE6
Moderator: General Moderators