Click here to Skip to main content
15,885,767 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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.
Posted
Comments
Technoses 10-Jan-12 4:26am    
If you runs an html + javascript page direct from double click, then it always shows a message of activex. but from localhost or website it not shows.
please add your code if problem is different

I think you should put the ActiveX control to an element and then hide the element.then show the alert.
 
Share this answer
 
I've created a dialog in the ActiveX with look & feel of JavaScript message box and called it from JavaScript.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900