/**
* JQ实现checkBox全选/反选
*/
$('.checkAll').on('click', function () {
console.log('checkAll')
$('.checkOne').prop("checked", this.checked);
});
function checkOne(){
var $subs = $('.checkOne');
$(".checkAll").prop("checked" , $subs.length == $subs.filter(":checked").length ? true :false);
}