判断单选框是否被选中

if($("radio").attr("checked")){  

alert("选中")

}else{

alert("不选中")
}
posted @ 2015-12-02 14:28  蛋蛋的小家  阅读(726)  评论(0编辑  收藏  举报