2

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 implementation backwards compatible with other Internet Explorer versions.

pnuts
  • 58,317
  • 11
  • 87
  • 139
Nick
  • 257
  • 1
  • 2
  • 5

1 Answers1

2

This worked for me:

<base target="_self" />
Matthew Rapati
  • 5,648
  • 4
  • 28
  • 48
  • 1
    You need to add a new line before the HTML to get the code block to render in your answer, it's too trivial an edit for me to do. – staticbeast Jun 28 '11 at 18:59
  • Hi mathhew... can you please tell me where i should exactly add this code .... – krishna Feb 09 '15 at 14:51