Immediate change to box contents based on input to other tex
Posted: Mon Feb 10, 2014 6:21 pm
Good evening.
Please consider 2 textboxes. One is for integer #1, the second is for integer #2.
Based on the contents of these boxes I'd like the "Total" textbox to be computed immediately when the focus changes away from either the integer 1 or integer 2 textboxes.
Example: A user types "3" in input box 1, and types "2" in input box 2.
I'd like the result to be displayed immediately when the user clicks anywhere else on the screen.
What type of box should "Total" be and how would I go about scripting the response that I desire?
Thanks very much.
Regards,
John
Please consider 2 textboxes. One is for integer #1, the second is for integer #2.
Based on the contents of these boxes I'd like the "Total" textbox to be computed immediately when the focus changes away from either the integer 1 or integer 2 textboxes.
Example: A user types "3" in input box 1, and types "2" in input box 2.
I'd like the result to be displayed immediately when the user clicks anywhere else on the screen.
What type of box should "Total" be and how would I go about scripting the response that I desire?
Thanks very much.
Regards,
John