javascript - Suppress syntax error and continue next script execution -


i using ieembed browser in application(using jdic).

at 1 point when click on button calls javascript, attached error pops , scripting stops.

when open same site in internet explorer outside works fine, have disabled script debugging in tools/advance | disable script debugging

![enter image description here][1]

i have tried following code hide error stops script execution:

window.onerror=function(errormsg,url,linenumber,column,erroobj){ return true; };


Comments