skip to Main Content

jQuery calculation return NaN on change input text

I have this code to make some calculation when I change the inputs fields: <div class="card-body"> <div class="form-group"> <label>Pret vanzare</label> <input id="price_vanzare" type="text" name="price" class="form-control" placeholder="Product price" value="<?php echo $product->price; ?>"> </div> <div class="form-group"> <label>Pret achizitie</label> <input id="price_achizitie" type="text" name="price_achizitie"…

VIEW QUESTION
Back To Top
Search