• 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 2 Jahren, 3 Monaten von greatom.
Ansicht von 1 Antwort (von insgesamt 1)
  • Moderator Bego Mario Garde

    (@pixolin)

    Moderator (nicht mehr aktiv)

    Moderation Note:

    I have closed this thread because you asked your question in English in the German support forums. To keep the threads accessible for users who don’t speak English, please ask your question in German or post it in the international support forums.

    Apart from that, your question seems to be off topic. We can’t teach basics in PHP, HTML, CSS, Javascript etc. here.

Ansicht von 1 Antwort (von insgesamt 1)
  • Das Thema „Menu does not reset after reload“ ist für neue Antworten geschlossen.