为input标签绑定事件的几种方式

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>为标签绑定事件</title> <script> function danji(){ alert("hello javascript"); } </script> </head> <body> <p>单击按钮触发函数。</p> <input type="button" value
相关文章
相关标签/搜索