Checbox的操作含已选、未选及判断代码
摘要:checkbox:$("#chk1").attr("checked",'');//不打勾$("#chk2").attr("checked",...
checkbox:
$("#chk1").attr("checked",'');//不打勾
$("#chk2").attr("checked",true);//打勾
if($("#chk1").attr('checked')==undefined) //判断是否已经打勾
【Checbox的操作含已选、未选及判断代码】相关文章:
★ 模拟抽奖