HighDots Forums  

Re: Modal window form target

Javascript JavaScript language (comp.lang.javascript)


Discuss Re: Modal window form target in the Javascript forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Monotheist
 
Posts: n/a

Default Re: Modal window form target - 01-07-2005 , 06:00 AM






I finally found the proper solution for this...
first you make a frame page with 2 sections....
make the size of the second section 0 so that it is invisible.....
in the bigger section put your main page... which should go into the
modal. Now in the form target give the name of the first frameset.
open the frame page as a modal. on submit now it opens in that page
itself
everything else should work fine....

Nick Yasko wrote:
Quote:
Hi

I think you use Session mechanism and IE has the problem with it.
I recommend to use instead of SUBMIT
window.location.href="qqq.asp?var1=1&var2=2...";
You have use escape() function for encoding values.
It corresponds the GET method , and you have to make query manually.

By
Nick Yasko
http://www.uni-koblenz.de/~yasko


"Hari Mukkala" <nellorehari (AT) yahoo (DOT) com> wrote in message
news:c3005e4e.0210230711.6380a13c (AT) posting (DOT) google.com...
Hello everybody,
I'm trying to open a modal window in html using

window.showModalDialog("target.html")

target.html has a form and when we submit the form, the results are
always opening in a new window.Is something tricky or am I missing
something?

Thanks
Hari.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.