Skip to content
Advertisement

edge how to enable resizeable about the popup window

I used window.showModalDialog(url,windowName,status)to open a popup window on IE and the popup window can’t resizeable.

The showModalDialog doesn’t work on Edge ,so I use window.open(url,windowName,status) to replace it on Edge,but the resizeable=no option of window.open(url,windowName,”resizeable=no”) does’t work on Edge.

How can I enable my popup window resizeable with window.open() on Edge?

Advertisement

Answer

The showModalDialog() method is obsolete. For window.open(), IE supports disabling the resizing, but other browsers no longer support it. You can check the Parameter Values of this link.

As a workaround, you can use jQuery EasyUI Dialog. You can refer to the example below:

JavaScript
JavaScript
User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement