newbie: a post problem :o(

N

Neil Devlin

Hi ,
Im new to javascript, and have created a shopping cart, and using paypal
for payments. The below has been created by paypal's web page so i can send
the user to their secure payments. Pressing the button 'below' brings up the
secure payment screen. with the value of 200.00.
This works fine as its in the html, but how do I call this with any value in
the 'value' field? I take it some javascript would do this, but i dont know
how?

thanks
neil



<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" [email protected]>
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="value" value="200.00">
<input type="hidden" name="currency_code" value="USD">
<input type="image" src="https://www.paypal.com/images/x-click-but23.gif"
border="0" name="submit" alt="Make payments with PayPal - it's fast, free
and secure!">
</form>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,077
Messages
2,570,569
Members
47,205
Latest member
KelleM857

Latest Threads

Top