Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

opening new window 1

Status
Not open for further replies.

jimberger

Programmer
Jul 5, 2001
222
GB
hi all,

I've got a simple form that runs a cgi script on submission.

<FORM NAME = &quot;name&quot; METHOD = &quot;POST&quot; ACTION = &quot;scriptname.cgi&quot;>

However, when the user presses submit i want a new window to open and the cgi script called by the form to run inside of the new window. Any ideas anyone? any help will be appreicated.

jim
 
add target=&quot;_blank&quot; to your form tag. Tracy Dryden
tracy@bydisn.com

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
 
cheers tracey!

any ideas how you change the attributes of the window e.g toolbar=no,menubar=no,scrollbars=yes,width=600,height=600 with using target

jim
 
I think you could do that by using the javascript window.open() command to open a new window, giving it a window name as the second parameter, and using that window name as the target of the form. Tracy Dryden
tracy@bydisn.com

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top