7.1.6 DOM对象属性操作
prop() removeProp()
$(function(){
//js对input单选按钮checked的默认设置
//console.log($('input[type=radio]').attr('checked')); //check
var oInput=document.getElementsByTagName('input')[1];
console.dir(oInput);
console.log($('input[type=radio]').eq(0).prop('checked')); //获取属性
$('input[type=radio]').eq(0).prop('aaa','11111') //设置属性
$('input[type=radio]').eq(0).removeProp('aaa') //删除属性
})