jasonhuibers
Programmer
I have 3 images.
When I click on the first image the hidden values should be:
<input type="hidden" name="item" value="Hello">
<input type="hidden" name="code" value="123">
<input type="hidden" name="amount" value="$19.99">
When I click on the second image the hidden values change to:
<input type="hidden" name="item" value="Good afternoon">
<input type="hidden" name="code" value="468">
<input type="hidden" name="amount" value="$29.99">
When I click on the third image the hidden values change to:
<input type="hidden" name="item" value="Good night">
<input type="hidden" name="code" value="579">
<input type="hidden" name="amount" value="$1129.99">
How can I do this when I click the Submit button?
When I click on the first image the hidden values should be:
<input type="hidden" name="item" value="Hello">
<input type="hidden" name="code" value="123">
<input type="hidden" name="amount" value="$19.99">
When I click on the second image the hidden values change to:
<input type="hidden" name="item" value="Good afternoon">
<input type="hidden" name="code" value="468">
<input type="hidden" name="amount" value="$29.99">
When I click on the third image the hidden values change to:
<input type="hidden" name="item" value="Good night">
<input type="hidden" name="code" value="579">
<input type="hidden" name="amount" value="$1129.99">
How can I do this when I click the Submit button?