I've got
<form name="form1>
<select name="select1">
<option value="null" selected>Select A Team</option>
<option value="Cougars" >Cougars</option>
<option value="Maverick s">Mavericks </option>
<option value="Shortcut s">Shortcuts </option>
</select>
</form>
If for example I wanted to document.write( the number of options in form
1 using length property), how would I do that? I keep getting told that
form1 has no properties when I try to get the length.
Thanks for the help
<form name="form1>
<select name="select1">
<option value="null" selected>Select A Team</option>
<option value="Cougars" >Cougars</option>
<option value="Maverick s">Mavericks </option>
<option value="Shortcut s">Shortcuts </option>
</select>
</form>
If for example I wanted to document.write( the number of options in form
1 using length property), how would I do that? I keep getting told that
form1 has no properties when I try to get the length.
Thanks for the help
Comment