- 博客(1)
- 收藏
- 关注
原创 html 动态修改onclick事件
1 每次点击,执行函数不同 function hello() { alert("hello"); document.getElementById("zhch").value = "我的注册函数是word"; document.getElementById("zhch").onclick = word; } function word() { alert("word
2011-12-12 22:14:04 903
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人