jQuery判断对像样否选中

jQuery判断对象是否选中jQuery中类似使用下面代码来进行判断:if($(#cr).is(:checked)){alert(cr is c

jQuery判断对象是否选中

jQuery中类似使用下面代码来进行判断:

if($("#cr").is(":checked")){
   alert("cr is checked");
}