How to make your PayPal button open in a new window

Add this line of code to your PayPal button code to make it open in a new window when clicked:

target="_blank"

You would add this to the

section of the button code:

<form target="_blank" action="<a href="https://www.paypal.com/cgi-bin/webscr" rel="nofollow" target="_blank">https://www.paypal.com/cgi-bin/webscr</a> method="post">

Meet the author

Libby Fisher is an experienced freelance web developer, recently relocated from Seattle to Boston, and passionate about developing websites that are both aesthetically appealing and intuitively usable - or as she prefers: "beautifully effective."

  • http://best2keepitsimple.com/ Janet

    Thank you so much for sharing this code and actually where to place it so it works. You would be surprised at the places that told you the code but did not say where it goes.

    Janet

    • http://thelibzter.com Libby Fisher

      Haha, I didnt realize so many other tutorials did that! thanks for letting me know :)