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


the code is:

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

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

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

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

target="_blank" just opened it inside the frame.
thx for the points, :-)
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.