Go Back   CodingForums.com > :: Client side development > JavaScript programming > JavaScript frameworks

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 08-14-2009, 01:10 AM   PM User | #1
muchi_us
New Coder

 
Join Date: Sep 2002
Location: Las Vegas, NV, USA
Posts: 34
Thanks: 4
Thanked 0 Times in 0 Posts
muchi_us is an unknown quantity at this point
send a form with javascript

I have a rollover button. I would like to connect to my cart (in Paypal) when I click the button. The command on the button is
javascript:seecart()

The coding is:

<SCRIPT LANGUAGE="JavaScript">
<!--
function seecart()
{
<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_cart" />
<input type="hidden" name="business" value="myemail@mywebsite.com" />
<input type="hidden" name="display" value="1" />
</form>
}
-->
</script>

Is there another way to connect to the cart with a rollover button?
Thanks
Markus
muchi_us is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:13 AM.


Advertisement
Log in to turn off these ads.