按 F12,然後在 Console 輸入,且 Enter

$("input:checkbox").attr("checked",true)

$(":checkbox").attr("checked",true)

特定 id 打勾

$('#ID名稱').attr("checked",true)

$('input[id="ID名稱"]').attr("checked",true)

特定 name 打勾,比如 <input type=”checkbox” name=”table[]” id=”tbl50″ value=”50″>

$('input[name="table[]"]').attr("checked",true)
Related posts 相關文章
思科CISCO遭受網路攻擊然後被竊取資料
More...
該更新你的 Google Chrome 瀏覽器了,2022 新年有 37 安全更新
More...
不要在瀏覽器上自動儲存自己的密碼,已有人被駭
More...
使用 Google Chrome 內鍵抓畫面成圖片的功能
More...

作者

留言

撰寫回覆或留言

發佈留言必須填寫的電子郵件地址不會公開。