a page that show as showModalDialog don't return value.

Posted by Navid Farhadi on Stack Overflow See other posts from Stack Overflow or by Navid Farhadi
Published on 2010-03-11T16:03:31Z Indexed on 2010/03/11 18:24 UTC
Read the original article Hit count: 328

Filed under:
|
|

I have a page that i want to show it modally by

returnval = window.showModalDialog(pagename, winArgs, winSettings);

When page postback internet explorer opens a new page so i use below code in page's HEAD

<base target=_self>

and now it don't return value.

It work in firefox and don't work in ie and chrome.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about ASP.NET