Firefox ignores option selected=“selected”

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

    autocomplete wasn't working for me either.

    This is the javscript fix written in jquery that i use:

    $('input[type="radio"][selected]').click();
    

提交回复
热议问题