View Single Post
  #3 (permalink)  
Old 07-18-09, 05:23 AM
wirehopper's Avatar
wirehopper wirehopper is offline
-
 
Join Date: Feb 2006
Posts: 2,515
Thanks: 20
Thanked 109 Times in 106 Posts
Code:
total.value = <?php echo $monto;?> - this.value.
Change total.value. to total.value;, or better yet:

Code:
document.getElementById('total').value=<?php echo $monto;?>-this.value
You might want to post a bit more code to make it easier to understand.
Reply With Quote