User Profile

Collapse

Profile Sidebar

Collapse
techker
techker
Last Activity: Aug 12 '14, 10:38 AM
Joined: Aug 11 '14
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • techker
    replied to calculate on the fly
    in Java
    got the tax..but as soon as i add the code for auto suggest tax stops and auto works??

    Code:
     <script type="text/javascript">
    	$(document).ready(function(){
    	    $('#calx').calx({
    		autocalculate: false
    	    });
    	    
    	    $('#calculate').click(function(){
    		$('#calx').calx('update');
    	    });
    	});
        </script>
    ...
    See more | Go to post

    Leave a comment:


  • techker
    replied to calculate on the fly
    in Java
    ok so i got this to work

    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,
    ...
    See more | Go to post

    Leave a comment:


  • techker
    started a topic calculate on the fly
    in Java

    calculate on the fly

    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;
    ...
    See more | Go to post
No activity results to display
Show More
Working...