jquery attr(“checked”,true)存在兼容性问题

attr(“checked”,true)
$(“input[name=pinzhong]:eq(0)”).attr(“checked”,”checked”);

PS:有的浏览不支持这种动态改变radio属性的写法,建议不要使用