<input />
<script>
$('#a').click(function(){
$(this).attr('checked','checked');
$('#b').removeAttr('checked');
})
$('#b').click(function(){
$(this).attr('checked','checked');
$('#a').removeAttr('checked');
})
</script>

相关文章: