阅读背景:

覆盖JavaScript会导致IE中的无限循环,但不会导致Firefox中的循环

来源:互联网 

I'm using the following code to override a JavaScript function named dismissRelatedLookupPopup(). In Firefox, this works without a problem (displays the alert once and runs my code), but in Internet Explorer 7 it results in an infinite loop displaying the alert() forever. I'm doing this because I don't control the code where dismissRelatedLookupPopup() is called, and I'd like to add a hook of my own when it's called. Is there a cross-browser way to do this?I'm using the following code to override a Java




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: