var totalPrice = $(UNITPRICE).val() * $(UNITQUANITY).val(); $(TOTALPRICE).val(totalPrice);
On Jun 24, 2:03 pm, efet <efetun...@gmail.com> wrote: > Hi, > > I have three input fields as UNITPRICE & UNITQUANTITY and TOTALPRICE. > UNITPRICE's value depends on a product chosen in the preceding tab. > Now, I want UNITPRICE & UNITQUANTITY fields multiplied and result > shown on TOTALPRICE input field. How can I do it?