Patric: Explorer liest .value nicht aus Formular

Beitrag lesen

Hi !

Hallo Hans!

<select name="startyear">
<option selected>2006
</select>

Also, ich hätte das bei IE 6.0 so geschrieben:

Hmm, mal schaun....

<select name="startyear">
<option value="2006">2006</option>
</select>

Und so darauf zugegriffen:

document.form.startyear.options[document.form.startyear.selectedIndex].value;

Ich habs so gemacht und es funktioniert nun bestens. Vielen Dank für deine Hilfe!!!

Gruß

Hans

Viele Grüße,
Patric.