firefox checkbox
时间: 2023-09-02 12:08:21 浏览: 89
在Firefox中,当勾选checkbox后,刷新页面后checkbox依然保持勾选状态的解决方法是给checkbox添加属性autocomplete="off"。这个属性可以禁用浏览器的自动表单填充功能,确保刷新后checkbox状态不会改变。<span class="em">1</span><span class="em">2</span>
#### 引用[.reference_title]
- *1* [IE, Firefox下,checkbox的钩钩一旦勾上,画面再刷新,钩钩还是勾上的解决方案](https://blog.csdn.net/weixin_30917213/article/details/99720902)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
- *2* [解决了火狐下无法触发click事件的问题](https://blog.csdn.net/namechenfl/article/details/84138071)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文