U
unregistriert
Guest
Wie kann man es mit JavaScript machen, dass wenn man auf einen Link klickt, eine option in einer select-Liste ausgewählt wird?
Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature may not be available in some browsers.
[url="#"]Test[/url]
<form action="">
<select name="auswahl" size="1">
<option value="1">test1</option>
<option>value="2">test2</option>
</select>
</form>
[url="#"]Test[/url]
<form action="">
<select name="auswahl" size="1">
<option value="1" id="1">test1</option>
<option value="2" id="2">test2</option>
</select>
</form>