M
MickG
I think that this should be reasonably easy but it is proving to be
hugely difficult. I am wanting to reset the form to all the original
values when I submit the form.
Here is the select box that I wish to reset, so no matter what I
select, once submitted it will return to 0:
<select name="hardback"onchange="if(this.selectedIndex)cover=+(this[this.selectedIndex].value);">
<option SELECTED value= "0" > Select Type of Book--(Default
Paperback)</option>
<option value="4.00">Standard Hardback</option>
<option value="6.00">Limited Edition HardBack</option>
Here is the line of code that I think will have to be altered.
<INPUT TYPE="BUTTON" VALUE='Add to Cart'
onClick="javascript:additem('football',
5.95,1,wrap,cover);cover=0;wrap=0;">
I've looked all over this newsgroup but cannot find anything that
works
Thanks in advance.
hugely difficult. I am wanting to reset the form to all the original
values when I submit the form.
Here is the select box that I wish to reset, so no matter what I
select, once submitted it will return to 0:
<select name="hardback"onchange="if(this.selectedIndex)cover=+(this[this.selectedIndex].value);">
<option SELECTED value= "0" > Select Type of Book--(Default
Paperback)</option>
<option value="4.00">Standard Hardback</option>
<option value="6.00">Limited Edition HardBack</option>
Here is the line of code that I think will have to be altered.
<INPUT TYPE="BUTTON" VALUE='Add to Cart'
onClick="javascript:additem('football',
5.95,1,wrap,cover);cover=0;wrap=0;">
I've looked all over this newsgroup but cannot find anything that
works
Thanks in advance.