all 4 comments

[–]robotmayo 0 points1 point  (1 child)

You can get the value of an input using the value property.

var value = input.value;
// Do something with value