Click here to Skip to main content
16,019,349 members

Comments by Anvitha Rao (Top 1 by date)

Anvitha Rao 22-Nov-12 4:28am View    
got the solution:
<script type="text/javascript">
function AppendValues(form) {
var txtunits = form.txtunits.value;
var txtdevicecost = form.txtdevicecost.value;
var txtinstallation = form.txtinstallation.value;
if (txtunits != '' && txtdevicecost != '' && txtinstallation != '') {
var result = (txtunits * txtdevicecost);
form.txtpaymentamount.value = parseInt(result) + parseInt(txtinstallation);
}
}
</script>