I want to make a function that, when the button is pressed, checks what option is selected from each drop down list. Don't know how i would do this and everything i find online is jquery, something i don't want to use. It might not be possible, which would be fine cause i could just use imput values insted but figured i might aswell ask here fisrt.
<body>
<select class="Alder" name="Alder">
<option id="B">0-12år</option>
<option id="V">Eldre en 12år</option>
</select>
<select class="Dager" name="Dager">
<option id="1">1 Dag</option>
<option id="2">2 Dager</option>
<option id="3">3 Dager</option>
<option id="4">4 Dager</option>
<option id="5">5 Dager</option>
<option id="6">6 Dager</option>
<option id="7">7 Dager</option>
</select>
<button id="prisKnapp" type="button" name="button">Regn ut pris</button>
</body>