but i need to calculate taxes.do i need to creat a var ta1 and tax 2?
Code:
<script type="text/javascript">
function hello(){
var xx=eval(form1.sum1.value);
var yy=eval(form1.sum2.value);
form1.result.value=xx+yy
}
</script>
<script type="text/javascript">
function calcTotal(txtBox,
Hey guys im doing a POS for my body's store and im really bitting my nails on the form total calculations.
this is a test script
but it only calculates the grand total not the form part
Code:
<script type="text/javascript">
///////////this is for filed total
function calc(A,B,SUM) {
var one = Number(A);
if (isNaN(one)) { alert('Invalid entry: '+A); one=0;
Leave a comment: