Reading values from input fields

Having 2 input fields and 1 button, how can i add 2 given numbers and show the result when the user clicks on the button ? The point is, I have no clue how to read those 2 values from the input fields. Could anybody please give me a hint ?
2 people have
this question
This topic is no longer open for comments or replies.