[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 941
  • Last Modified:

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">

I am adding a paypal donation button to my website, but the button is in a frame and when it is pressed it opens the paypal site opens in the frame and not as a new page, or in the main frame.

Is there a way I can fix this?

Thanks.

the code is:

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">


0
galneweinhaw
Asked:
galneweinhaw
  • 2
1 Solution
 
Ryan ChongCommented:
try like:

<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank">
0
 
GwynforWebCommented:
or this

<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
0
 
galneweinhawAuthor Commented:
target="_top" worked


target="_blank" just opened it inside the frame.
0
 
GwynforWebCommented:
thx for the points, :-)
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now