Link to home
Start Free TrialLog in
Avatar of vbnetcoder
vbnetcoder

asked on

java script using RadNumericTextBox

what is wrong with this: the text boxes are all RadNumericTextBox

 function calcTotal()
{    
document.getElementById('txtTotalPrice').set_value = document.getElementById('txtPricePerUnit').get_value * document.getElementById('txtQuantity').get_value

return true;
}
Avatar of HainKurt
HainKurt
Flag of Canada image

what is set_value & get_value?
maybe this is enough

<script>
function calcTotal(){
  document.getElementById('txtTotalPrice').value = document.getElementById('txtPricePerUnit').value * document.getElementById('txtQuantity').value;
}
</script>
Avatar of vbnetcoder
vbnetcoder

ASKER

ASKER CERTIFIED SOLUTION
Avatar of HainKurt
HainKurt
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial