469,353 Members | 2,066 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,353 developers. It's quick & easy.

post form data to a modal dialog window

I want to post the form data (http://server/page1.asp) to a modal dialog
window (http://server/modaldialog.asp) with a desired height 200px by width
200px.

Here's my attempts and problems:

Attempt #1) In http://server/page1.asp, it has code <form
action="http://server/modaldialog.asp" method="post" target="_blank">

In http://server/modaldialog.asp, it has code <body onBlur = "self.focus()">

It can produce modal dialog window modaldialog.asp, but I want to set the
width and height of modaldialog.asp.

Attempt #2) var sReturn = window.showModalDialog("modaldialog.asp", params,
"dialogHeight:200px; dialogWidth:200px;");

This is the effect I want. But this is not posting the form data to
modaldialog.asp.

Any workarounds to my problems??

Thanks!!
Jul 23 '05 #1
1 2666
Matt wrote:
I want to post the form data (http://server/page1.asp) to a modal
dialog window (http://server/modaldialog.asp) with a desired height
200px by width 200px.


I doubt this is possible. A modal dialog window is just that: modal.
Script execution should not continue as long as the window is open.
PointedEars
Jul 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by martin de vroom | last post: by
3 posts views Thread by RubiconXing | last post: by
2 posts views Thread by Marian Heddesheimer | last post: by
8 posts views Thread by Craig G | last post: by
11 posts views Thread by Zytan | last post: by
5 posts views Thread by Enij | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.