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

M

Matt

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!!
 
M

Mark Parnell

I want to know how to submit the form data to a modal dialog window?

It's not about what you want, it's about what your users want. Do they
want you forcing new windows on them? Probably not.
 
D

Dave Patton

(e-mail address removed) (Matt) wrote in
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!!

Time to rethink your application design. I control
my browser, not you. Trying to open a new browser
window won't work in many situations, and what if
the person using page1.asp isn't using an operating
system that supports modal dialogs?
 
N

Neal

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??

Opening a new window is rarely justified. In fact, even the one or two
I've seen actually be worth it, I'd just as easily had it not happen. If
done really well, it won't screw up usability, but if done well or worse
it will.
 
Joined
Mar 28, 2007
Messages
1
Reaction score
0
What a bunch of snots! Modal Dialogs aren't illegal are they? You don't understand the OPs application, how dare you all just tell him not to do it. Just answer the question or hold your peace! (Hold your piece to, you wankers)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top