<!DOCTYPE HTML> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title> 鼠标经过事件 </title> <script type="text/javascript"> function message(){ confirm("请输入密码后,再单击确定!"); } </script> </head> <body> <form> 密码:<input name="password" type="password" > <input name="确定" type="button" value="确定"onmouseover="message()"/> </form> </body> </html>
![](http://img1.sycdn.imooc.com/user/5c7b95240001738410241024-80-80.jpg)
不带诗情画意
2014-10-27
举报
0/150
提交
取消