<div>
<span>全选/全不选</span>
<input type="checkbox" id="check_all_or_none" value="全选">
</div>
$("#check_all_or_none").change(function () {
var item = $(this).is(':checked');
alert(item)
});