newbie: a post problem :o(

Giganews Newsgroups
Subject: newbie: a post problem :o(
Posted by:  Neil Devlin (NDevl…@customdesigns.org.uk)
Date: Mon, 28 Jul 2003

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" value=myema…@here.com>
<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>

Replies