button调用js方法

button调用js方法

访问方式错误document.button.ok2 --- 这样是取不到button对象改成document.getElementById("ok2").value另外你的意思应该是修改button的文本,valu
JavaScript90