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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

From Action to open page in top window 1

Status
Not open for further replies.

waytech2003

Programmer
Jul 14, 2003
316
US
I have a shopping site that runs in a frame page. When the customer is ready to checkout, I need the FORM ACTION to open up in the TOP window, not the current frame. Can this be done?

Normal shopping functions are done in http:// pages because they are served quicker, and when ready to end, I switch to secure https:// page to collect payment details. I am using what I was told is a shared SSL server, an if I run the entire shopping experience in https:// it is very slow.

Sample:
<FORM ACTION=" NAME="form" METHOD="GET" onsubmit="return ValidateCart(this)">
 
Try adding TARGET="_TOP" to the form tag.

Tracy Dryden

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard. [dragon]
 
tried TARGET="_TOP", and that opened in new window, but TARGET="_top" does work.

thank you
 
I had forgotten that targets are case sensitive. Glad you had the smarts to try the lowercase version, and glad it worked for you. Thanks for the star.

Tracy Dryden

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

Part and Inventory Search

Sponsor

Back
Top