jquery里的attr和prop的用法注意,解决用attr移除checked选中状态失败的方法
摘要:
$(":radio").removeAttr('checked'); $(":radio").attr('checked','true'); 实际问题:在使用removeAttr()移除了radio的checked属性后,使用attr()重新增加不起作用; 解决: $(":radio").remov 阅读全文
posted @ 2019-10-19 22:03 765427457 阅读(529) 评论(0) 推荐(0)
浙公网安备 33010602011771号