思路: 利用name屬性值獲取checkbox物件,然後迴圈判斷checked屬性(true表示被選中,false表示未選中)。下面進行例項演示: html程式碼: <input ...
確定! 回上一頁