<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">


galneweinhawAsked:
Who is Participating?
 
GwynforWebConnect With a Mentor Commented:
or this

<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
0
 
Ryan ChongCommented:
try like:

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


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

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.