开发者

How to stop 'window.showModalDialog' opening second window?

In Microsoft's documentation I can't find the answer to my question on how to disable this feature.

The setup is that I have a browser open, that invokes the window.showModalDialog. After the user enters input in the popup window and submits a new window is opened from the pop-up.

I do not want the results from the original pop-up to open a new window. The results should be submitted back to the original browser window that invokes the first pop-up.

I've accomplished this with Mozilla and IE8, but want to make my implementatio开发者_开发百科n backwards compatible with other Internet Explorer versions.


This worked for me:

<base target="_self" />
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜