在带有ActiveX控件的页面上显示JavaScript警报的问题 [英] Problem showing JavaScript alert on page bearing ActiveX control
本文介绍了在带有ActiveX控件的页面上显示JavaScript警报的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我遇到了显示JavaScript警报的优先级问题.
该页面带有一个ActiveX控件.因此,当我尝试显示警报时,由于它具有更高的优先级,因此它隐藏在ActiveX控件后面.
我尝试过的其他方法是iframe.但是,加载需要大量时间.
任何帮助将不胜感激.
PS.
解决方案
我认为您应该将ActiveX控件放在元素上,然后隐藏该元素.然后显示警报.
<我已经在ActiveX中创建了一个外观为&的对话框JavaScript消息框的感觉,然后从JavaScript调用它.
Hi,
I''m facing a problem of precedence showing a JavaScript alert.
The page bears an ActiveX control; so, when I attempt to show the alert, it hides behind the ActiveX control as it has a higher precedence.
Other way I''ve tried is Iframe. But, it takes huge amount of time to load.
Any help would be appreciated.
PS.
解决方案
I think you should put the ActiveX control to an element and then hide the element.then show the alert.
I''ve created a dialog in the ActiveX with look & feel of JavaScript message box and called it from JavaScript.
这篇关于在带有ActiveX控件的页面上显示JavaScript警报的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文