Firefox ignores option selected=“selected”

前端 未结 20 1659
你的背包
你的背包 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:37

    Add autocomplete="off" HTML attribute to every select tag.

    (source: https://stackoverflow.com/a/8258154/260080)

提交回复
热议问题