showModalDialog icon indicating copy to clipboard operation
showModalDialog copied to clipboard

window.showModalDialog polyfill using a <dialog> element

Results 20 showModalDialog issues
Sort by recently updated
recently updated
newest added

when we add a cancel button no code is working to close the popup. please provide any solution on this.

I'm having an error when the returnValue includes the string "$1". The replace function (using eval) converts every occurrence of this to the string "window.". I can modify the regex...

Not able to pass dialog arguments to dialog page. It always received null at dialog side.

How to return value to caller method from ShoModelDailog using eval implementation. I know the return statement is not valid for the eval method. Async/await is not compatible with IE-11....

I have a function like this: `function HandlePopup() { var returnValue = window.showModalDialog(url [,args,opt]); return returnValue != "--cancel--"; }` So, in this example, what happens is that when performing the...

Not working in Mozilla. No funciona en Mozilla.

Any option available to drag and move the Modal Page ?

If window.showModalDialog call is nested inside another function call, your script will break since there will be a parenthesis at the end that will have already been escaped. For example,...

``` ``` function AdminshowAssignSold() { var answer = window.showModalDialog("AssignSold.aspx?ProID=",null, "dialogWidth:500px; dialogHeight:500px; center:yes"); answer.focus(); if (answer == "1") location.reload(); } Please assist on this . the pop up windows close automatically...