This is the message I get within the document.write output ("document.write(bodytype);")
[objectHTMLSelectElement]
This is my attempt to get a value from the dropdownbox;
var bodytype=document.getElementById("bodytype");
document.getElementById("bodytype").value=bodytype.options[bodytype.selectedIndex].text;
This is the dropdown box code that it's meant to come from;
<select id="bodytype" name="bodytype">
<option>fat</option>
<option>lean</option>
<option>slender</option>
<option>short</option>
<option>tall</option>
</select>
It's printing what it is to the screen rather than the text... am I just missing "" somewhere?