close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


Paypal button does not open in new tab when target set to _blank

Thread began 12/22/2009 12:28 pm by forgottenglory205659 | Last modified 2/05/2010 5:35 pm by purchase400319 | 20006 views | 3 replies |


Paypal button does not open in new tab when target set to _blank

When the Paypal button is clicked, I want it to open the Paypal checkout in a new tab. The code I have for the button is as follows:

<input type="submit" class="buy" name="submit" value="BUY NOW" target="_blank" />

The class formats the button through CSS. I added a target of _blank to either open in a new window or tab, depending on the user's settings. However, when I test the page in IE8 and Firefox 3.0, the Paypal checkout loads in the same tab. It only opens in a new tab in Opera.

I remember that target attribute set to _blank use to work well in older versions of the extension.

My page is encoded in XHTML 1.0 Strict.

Can you please tell me what I need to do to get the checkout to open in a new tab/window.


Sign in to reply to this post

Jason ByrnesWebAssist

you cannot use traget="_blank" on the submit button, you have to use it on the form tag:
<form name="form1" method="post" action="somepage.php" target="_blank"">

Sign in to reply to this post


Thanks! It works like a charm! ;-)

Sign in to reply to this post


Open in new tab/window when target set to "_blank"

Oops, Jason, you added an extra quotemark : target="_blank"">

Anyway, this does not work on my form.
<Form Method="Post" Action="" target="_blank">

Instead, I had to add the target to the initial referring link:
<a href="" target="_blank">

RESULT : New window in MSIE8, new tab in Firefox3.5

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...