Firefox ignores option selected=“selected”

前端 未结 20 1626
你的背包
你的背包 2020-11-28 21:59

If you change a dropdown and refresh the page, Firefox seems to ignore the selected attribute.

20条回答
  •  一向
    一向 (楼主)
    2020-11-28 22:31

    If you change the select and refresh the page firefox will restore your changes on the form, that's why you feel like the select isn't working. Instead of refreshing, try opening the link on a new tab.

提交回复
热议问题