会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
代码改变世界
Cnblogs
Dashboard
Login
Home
Contact
Gallery
Subscribe
RSS
迷失自我
jquery attr属性在某些情况下无法实现input checked 需要使用prop属性来实现选中
2016-07-29 16:47
迷忙
阅读(
198
) 评论(
0
)
收藏
举报
需要用以下方式实现选中
$("input[type='checkbox']").prop("checked", true);
刷新页面
返回顶部
About