搜索
您的当前位置:首页正文

WEB网站涉及的jquery

来源:易榕旅网
1.设置radio选中
$("input[name=test][value=0]").attr("checked",true);//value=0的radio被选中
$("input[id=testid][value=0]").attr("checked",true);//value=0的radio被选中
$("input[name='books']").get(0).checked = true;

因篇幅问题不能全部显示,请点此查看更多更全内容

Top