但是我想找 .checked 更乾淨。 不使用 getAttribute() 尋找 checked 屬性值,因為如果默認情況下以這種方式選中此復選框,則始終為true:. <input type="checkbox" ...
確定! 回上一頁