Hello,
I have two textboxes and one label in a form. I am looking to display the sum of both textboxes in the label on "real time", in fact to execute the sum when I lost the focus of one of the textboxes.
For example at the beginning everything is in ceros. if I type "5" in the textbox a and press [TAB] (or click outside the textbox a) the label should be "5" and if I type "2" in the textbox b and press [TAB] (or click outside the textbox b) the label should be "7".
I am new in java and web development and I really do not have idea of how two do it. I will appreciate any idea, tip or example.
Thank you in advance.
JJ
I have two textboxes and one label in a form. I am looking to display the sum of both textboxes in the label on "real time", in fact to execute the sum when I lost the focus of one of the textboxes.
For example at the beginning everything is in ceros. if I type "5" in the textbox a and press [TAB] (or click outside the textbox a) the label should be "5" and if I type "2" in the textbox b and press [TAB] (or click outside the textbox b) the label should be "7".
I am new in java and web development and I really do not have idea of how two do it. I will appreciate any idea, tip or example.
Thank you in advance.
JJ
Comment