爲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
相關文章
相關標籤/搜索