I have this code here http://jsfiddle.net/RzBeM/65/ you will see two input fields called quantity. Basically the first part multiplies the quantity by the Card Points value and returns a value and in the second part the quantity multiplies by the Card Value and gives a value. The problem is i have to enter in the number into both inputs i would like to have one input but do both multiplications at once. Also if you type in a value and erase it it displays NaN how do i prevent that?
I have this code here http://jsfiddle.net/RzBeM/65/ you will see two input fields called quantity.
Share
here you have a modified version of your code. i removed the second quantity input
fiddle: http://jsfiddle.net/manuel/RzBeM/82/