Click here to Skip to main content
14,733,966 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am wondering that if there is any way to open a modal popup from iframe-1.html so that new popup.html will open over all parallel frames (i.e. iframe-1.html, iframe-2.html & iframe-3.html) and all 3 frames will be disabled.

Also I want to pass argument on popup.html and also need to get return value while closing it.

Priore to this I was using "window.showModalDialog", but it is deprecated by chrome 37 and above. I need a solution which can work in all modern browsers.

Thanks

What I have tried:

I have googled and tried "showModalDialog.js" but no success.
Posted
Updated 4-Aug-16 0:37am
v3
Comments
Coddddder 5-Aug-16 1:26am
   
Any help?

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

  Print Answers RSS
Top Experts
Last 24hrsThis month



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