If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > displaying DB results in a new window

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-09-03, 18:13
corporate_targe corporate_targe is offline
Registered User
 
Join Date: May 2003
Posts: 18
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.
Reply With Quote
  #2 (permalink)  
Old 05-09-03, 21:10
corporate_targe corporate_targe is offline
Registered User
 
Join Date: May 2003
Posts: 18
Re: displaying DB results in a new window

oh yeah, I also want to varify the form.
Reply With Quote
  #3 (permalink)  
Old 05-10-03, 00:55
corporate_targe corporate_targe is offline
Registered User
 
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?
Reply With Quote
  #4 (permalink)  
Old 05-10-03, 23:38
MrWizard MrWizard is offline
Registered User
 
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
Reply With Quote
  #5 (permalink)  
Old 05-10-03, 23:54
corporate_targe corporate_targe is offline
Registered User
 
Join Date: May 2003
Posts: 18
thx, exactly what i wanted =)
Reply With Quote
  #6 (permalink)  
Old 05-11-03, 01:02
corporate_targe corporate_targe is offline
Registered User
 
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.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On