判斷語法如下: $("#checkboxId").attr('checked'). 例子:. if($("#checkboxid").attr('checked')){. //如給被勾選將做什麼事. } ...
確定! 回上一頁