html複選框的全選和全不選

js版: <!DOCTYPE html> <html> <head> <script> function checkAll(){ //1.獲取編號前面的複選框 var checkAllEle = document.getElementById("checkAll"); //2.對編號前面複選框的狀態進行判斷 if(checkAllEle.checked==true){ //
相關文章
相關標籤/搜索