The input is STWCORQuant:
Expand|Select|Wrap|Line Numbers
- <input name="STWCORQuant" class="contactitalicbold" id="STWCORQuant" onChange="javascript:STWCORPrice();" value="0" size="8" style="text-align: right; font-family: ver">
Expand|Select|Wrap|Line Numbers
- <script language="javascript" type="text/javascript">
- function STWCORPrice() {
- var price = 0;
- var shipping = 0;
- var total=0;
- var qnty=document.all.STWCORQuant.value;
- if (qnty > 49 && qnty < 75){
- price = 23;
- shipping = 6.25;
- }
- else if (qnty > 74 && qnty < 100){
- price = 17;
- shipping = 6.25;
- }
- else if (qnty > 99 && qnty < 200){
- price = 14;
- shipping = 6.25;
- }
- else if (qnty > 199 && qnty < 250){
- price = 13.75;
- shipping = 7.75;
- }
- total = (price * qnty)+shipping;
- document.all.STWCORIssueCost.value= '$ '+ total.toFixed(2);
- }
- </script>
Expand|Select|Wrap|Line Numbers
- <td width="15%" id="STWCORIssueCost" Font Class="sidemenutextgrn" align="right">$0</Font></td>
Thanks