[ad_1]
I have a page with a larger list and a filter to choose a subset wich works well. The menu is defined with following code
<form class="ControlsJobs">
<div class="custom-select">
<select class="event-type-select">
<option value="all"> All</option>
<option value="apple">Apple</option>
<option value="banana">Banana</option>
<option value="pear">Pear</option>
</select>
</div>
</form>My issue is that a menu selection (e.g. Banana) stays after a page reload although the reloaded page does show all entries. I wonder why a page reload does not refresh the menu so that the first entry is selected.
Using „selected“ makes no difference.<option value="all" selected> All</option>
I can’t reproduce this issue using a simple plain HTML page for testing. Any idea?
- Dieses Thema wurde geändert vor 20 Minuten von .
