jQuery判断多个单选按钮是否被选中

$(":radio").attr("checked", function(index, attr) { if (attr == true) { ... } else { ... } });

posted @ 2010-11-25 19:18  wanyao  阅读(1016)  评论(0编辑  收藏  举报