• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

showModal Dialog submit same page

 
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic