jquery和checkbox
function show(){$check=$("#checkbox1")alert($check.attr("checked")); //这个不行alert($check.is(':checked')); //判断是否选择用这个}function check(){$("#checkbox1").attr("checked",true);}function notcheck(){$("#checkbox1").attr("checked",false);}