问答详情
源自:6-3 鼠标经过事件(onmouseover)

怎么触发不了onmouseover实践,求解!

<!DOCTYPE HTML>

<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="确定" onmouserover="message()"/>

</form>

</body>

</html>


提问者:天地4638 2016-07-31 20:34

个回答

  • 水里有条鱼
    2016-07-31 21:16:58
    已采纳

    onmouserover="message()"/> 写错了吧,是onmouseover

  • 上进3797464
    2016-08-17 17:06:27

    onmouseover="message()"的onmouseover错了