okham
11-05-2003, 06:57 PM
...okay folx, this one seems pretty straightforward and easy, but I haven't found a solution that works for me...
Basically, I've used javascript to calculate an amount on my webpage...but haven't been successful at passing that return to the "amount" hidden input for a shopping cart. So I've got:
<input type="hidden" name="amount" value=amount()>
function amount() {
amountadded; return;
}
Doesn't seem to work for me. Any suggestions?
Basically, I've used javascript to calculate an amount on my webpage...but haven't been successful at passing that return to the "amount" hidden input for a shopping cart. So I've got:
<input type="hidden" name="amount" value=amount()>
function amount() {
amountadded; return;
}
Doesn't seem to work for me. Any suggestions?