Arunprasad T S V

Arunprasad T S V

  • NA
  • 74
  • 7.5k

window.open as modal popup

Oct 25 2021 5:54 AM

Hello,

         I need to open a modal popup using window.open. But modal is not working. I'm tried 

window.open(URL, 'PopupHeading', 'height=200px, width=400px, toolbar=no, scrollbars=no, resizable=no, modal=yes');

as well as i tried,

window.open(URL, 'PopupHeading', 'height:200px, width:400px, toolbar:no, scrollbars:no, resizable:no, modal:yes');

but the modal is not working. window.showModalDialog is not working in chrome, edge browsers. So please give a solution on this. Thanks.


Answers (2)