• Post Reply Bookmark Topic Watch Topic
  • New Topic

showModal Dialog submit same page  RSS feed

 
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have used <base target="_self">, to open the page in same window afer submit in the show modal dialog. It works fine in IE-6.

In IE-7 it opens everytime in new window. Can anyone suggest any work around for this problem. Is there any way to get the same behaviour in IE7

Regards,
Paras.
 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

paresh doshi wrote:
I have used <base target="_self">, to open the page in same window afer submit in the show modal dialog. It works fine in IE-6.

In IE-7 it opens everytime in new window. Can anyone suggest any work around for this problem. Is there any way to get the same behaviour in IE7



When using showmodal dialog and you do a SUBMIT on the dialog page, you have to do a little trick, because iexplorer doesn't support the standard way jeje.

Instead linking to your page on the showmodaldialog command, try linking to a new page that has an iframe inside and then, link your page into the iframe like this:

<IFRAME width="100%" height="100%" src="myPAGE.jsp">
</IFRAME>

This should fix the problem.
 
How do they get the deer to cross at the signs? Or to read this tiny ad?
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!