Results 1 to 6 of 6
  1. #1
    Join Date
    May 2003
    Posts
    18

    Unanswered: displaying DB results in a new window

    How can a new window be opened to display DB information upon a submit button click? I know how to open up a new window in JavaScript and how to display the DB from an ASP page, but how can I make a form do both at once? Thx.

  2. #2
    Join Date
    May 2003
    Posts
    18

    Re: displaying DB results in a new window

    oh yeah, I also want to varify the form.

  3. #3
    Join Date
    May 2003
    Posts
    18

    sending form info to child window

    basically i guess i want to know how form info can be sent to a child window. how can i send something to the child window that the user typed in the parent window?

  4. #4
    Join Date
    Mar 2003
    Location
    Atlanta, GA
    Posts
    191

    well...

    I think you're looking to do this...


    <form method=""POST"" name=""F1"" target=""_blank"" action=""codefile.asp"">


    the target=""_blank"" causes a new window to open.
    the action=""codefile.asp"" is the asp file that will be executed inside the newly opened window.


    Tim
    Tim

  5. #5
    Join Date
    May 2003
    Posts
    18
    thx, exactly what i wanted =)

  6. #6
    Join Date
    May 2003
    Posts
    18
    POST didn't seem to send anything to the child window, but i tried POST and it worked. Also, single quotes worked when double quotes didn't. Thx again.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •