Download the code here: javascript-get-form-example.zip
Back to article: get the value of a form element using JavaScript