Why doesn't Firefox show the correct default select option?

前端 未结 11 1125
醉酒成梦
醉酒成梦 2020-11-28 07:02

I\'m making a web app to manage product SKUS. One part of that is to associate SKUs with product names. On each row of a table, I list a SKU and display a

11条回答
  •  春和景丽
    2020-11-28 07:39

    Although this is old question, but below solution can help someone

    In firefox, I've notice that the "selected" attribute will not work unless you place the select inside a form, where the form has a name attribute.

    提交评论

提交回复
热议问题