Say your variable is myNode
, you can do myNode.value
to retrieve the value of input elements.
Firebug has a "DOM" tab which shows useful DOM attributes.
Also see the mozilla page for a reference: https://developer.mozilla.org/en-US/docs/DOM/HTMLInputElement