<script> var f, quantity, rate, customertotal, salertotal, totalshare; function calc (f) { quantity=parseInt(f.quantity.value); rate=parseInt(f.rate.value); customertotal=(quantity*rate); salertotal=(customertotal*.80); totalshare=(customertotal*.20); f.customertotal.value=customertotal; f.salertotal.value=salertotal; f.totalshare.value=totalshare; } </script>
calc (f)
<input name="Calculation" type="button" value="Calculation" önclick="calc(f)"/>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)