checkbox: $("#chk1").attr("checked",'');//不勾選$("#chk2").attr("checked" ,true);//打勾if($("#chk1").attr('checked')==undefined) //判斷是否已經打勾