📜  按钮的 setattribute - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:59.290000             🧑  作者: Mango

代码示例1
pgBut.setAttribute("onclick","changepage("+i+")"); //changepage is function attached with click