$('input:radio[name="overTime"]').each(function(){ $(this).removeAttr('checked'); });
几个name相同的radio监听事件,点击其中一个实现相应的功能 ,也能够用click事件。javascript
$('input:radio[name="overTime"]').change(function(){ var overTime = $(this).val(); });