I created some forms and dropdowns and got Javascript to find the values of the forms and dropdowns.
However, when I try to print these values I get either the default value of the dropdown or 'undefined' for a form, even when I've put text into them. How can I update the values?
There are several similar questions posted, I know, but I don't know whether their answers are relevant to my situation because I am new to Javascript.
Anyway the full page can be found via pastebin here: http://pastebin.com/DpcrsfxN.
valuegets the selected value. also, put some simplified code in the question