Hi,
I have this code:
<div>
<input id="number" type="text" />
<select id="Selection" name="D1">
<option>Plus 1</option>
<option>Minus 1</option>
</select>
<input id="result" type="text" />
</div>
How could I calculate any number entered into the input "number" based on the value chosen from the select control using jQuery? For example I would like to enter 5 in the input "number" and if I choose "Plus 1" then add 1 to the number and show the result in the "result" input. If I choose "Minus 1" then I will do a substraction and show the new result. thank you.