您好,我有一個(gè)問題要問您,我將刪除一個(gè)輸入類型按鈕的屬性(隱藏),您能幫我嗎,這是我的腳本坦克為你提供幫助<input type="button" onclick="myfunction()" value="Test"><hr><button id="ici" hidden="">lol</button><script>function myfunction() { document.getElementById("ici").removeAttribute("hidden");}</script>
使用函數(shù)刪除 html 中的屬性(隱藏)
呼啦一陣風(fēng)
2023-12-04 19:27:05