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

Discussion in 'ASP General' started by Matt, Aug 20, 2004.

  1. Matt

    Matt Guest

    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!!
     
    Matt, Aug 20, 2004
    #1
    1. Advertising

  2. Matt

    John Guest

    Under the submit button one need to place a call to a JavaScript routine.
    This routine opens the window like you wish and submit the form. But please
    contact a Javascript Newsgroup or search Google.com for thsi kind of stuff.
     
    John, Aug 20, 2004
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Matt
    Replies:
    1
    Views:
    3,148
    Whitecrest
    Jun 1, 2004
  2. Matt
    Replies:
    8
    Views:
    12,807
    greg_funke
    Dec 28, 2007
  3. Matt
    Replies:
    0
    Views:
    219
  4. Matt
    Replies:
    2
    Views:
    122
    Anitha
    Aug 20, 2004
  5. gopal srinivasan
    Replies:
    0
    Views:
    234
    gopal srinivasan
    Nov 5, 2004
Loading...

Share This Page