Login | Register   
RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.

Tip of the Day
Language: Web
Expertise: Beginner
Feb 20, 1999



Building the Right Environment to Support AI, Machine Learning and Deep Learning

Directing CGI Output to Another Frame

A little-known attribute of the <FORM> tag is TARGET. This attribute can be used to direct the output of a CGI program to another browser window, or another frame in the same window.
<FORM METHOD="get" ACTION="myScript.cgi" TARGET="mainframe">
In the <FORM> tag, TARGET behaves the same way it does in an anchor tag. If the TARGET is a named frame or window, the output will be directed there. If it isn't, a new browser window will open. This can be useful for directing navigation from a popup window, or for maintaining directional flow in a framed site.
Steve Renaker
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date