Click here to Skip to main content
15,891,184 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
HI
I am having 3 textboxes
in first text box i enter one number
second text box also i enter another number
after entering second number i want the sum of that two text boxes in my third text box
using javascript how can i do that?
thanks
afsal
Posted

1 solution

Find out how you can manipulate a text box input here: http://www.w3schools.com/jsref/dom_obj_text.asp[^]

How to get the value of the text box: http://www.w3schools.com/jsref/prop_text_value.asp[^]

What you can do with JavaScript operators: http://www.w3schools.com/js/js_operators.asp[^]

The whole tutorial (I recommend you to go through this entirely, since you have very little knowledge on JavaScript): http://www.w3schools.com/js/default.asp[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900