471,338 Members | 944 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,338 software developers and data experts.

how to submit the form data to a modal dialog window?

I want to know how to submit the form data to a modal dialog window? The
following is page1.asp, and when the user clicks submit button, it will post
the form data to page2.asp by opening a new window. But I want modal dialog
window, any ideas??

<form action="page2.asp" method="post" target="_blank">
<input type="text" name="username">
<input type="submit" name="submit">
</form>

please help. thanks!!
Jul 23 '05 #1
2 3716
In article <ba**************************@posting.google.com >,
jr********@hotmail.com enlightened us with...
I want to know how to submit the form data to a modal dialog window? The
following is page1.asp, and when the user clicks submit button, it will post
the form data to page2.asp by opening a new window. But I want modal dialog
window, any ideas??

<form action="page2.asp" method="post" target="_blank">
<input type="text" name="username">
<input type="submit" name="submit">
</form>

please help. thanks!!


MSIE only.
<http://msdn.microsoft.com/workshop/a...ods/showmodald
ialog.asp>

Do rethink WHY you want this. Many users find them horrid.

--
--
~kaeli~
All I ask is the chance to prove that money cannot make me
happy.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 23 '05 #2
kaeli <ti******@NOSPAM.comcast.net> wrote in message news:<MP************************@nntp.lucent.com>. ..
In article <ba**************************@posting.google.com >,
jr********@hotmail.com enlightened us with...
I want to know how to submit the form data to a modal dialog window? The
following is page1.asp, and when the user clicks submit button, it will post
the form data to page2.asp by opening a new window. But I want modal dialog
window, any ideas??

<form action="page2.asp" method="post" target="_blank">
<input type="text" name="username">
<input type="submit" name="submit">
</form>

please help. thanks!!


MSIE only.
<http://msdn.microsoft.com/workshop/a...ods/showmodald
ialog.asp>

Do rethink WHY you want this. Many users find them horrid.

--


Hi All,

I too have a similar situation.

I have a form in the main window. when submitted, I check for a
condition and if it is yes, then a modal window should open. The modal
window will have a textbox in it. when the modal window is submitted,
the value in the text box should be sent to the main window and the
modal window should close.

Can somebody please help me with this scenario?

Currently, I am at the situation where the modal window opens. but I
am not able to pass the value to the main window and close the modal
window.

Can anybody please help me?

Thanks
Anitha
Jul 23 '05 #3

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
1 post views Thread by stellabein | last post: by
2 posts views Thread by Marian Heddesheimer | last post: by
11 posts views Thread by Zytan | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.