Hi all,
To reproduce what I said, just run the codes below.
------------------------------------------------------
<script>
top.remote=function(){
throw new Error("top error");
//alert("remote ")
}
doTest=function(){
alert("begin")
try{top.remote();}
catch(e){alert(e.message)}
}
</script>
<input type='button' id='click' value='click me'
onClick='doTest()'></input>
---------------------------------------------------------------------------------------------------------
in Firefox it works well but not in IE.
Can someone help me on this issue?
|