i want to show the money that customer must pay and my inputs are like this :
<input type="text" class="form-control" placeholder="cost " id="txt" name="credit">
<input type="text" class="form-control" placeholder="quantity" id="txt" name="limit">
when the input text is changing i want to show the total cost (quantity*cost) in a <p> tag Dynamicly how can it be with javascript?
 
     
     
     
     
     
     
    
tag and iwant it to be dynamic for example when u change quantity input or cost input the value of
tag change
– hope May 09 '16 at 11:33