国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

JavaScript鼠標(biāo)移開事件(onmouseout)

鼠標(biāo)移開事件,當(dāng)鼠標(biāo)移開當(dāng)前對象時(shí),執(zhí)行onmouseout調(diào)用的程序。

改造我們的上一個(gè)例子:

<!DOCTYPE HTML>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <title>php.cn</title>
        <script>
            function fun(){
                window.alert("提交成功了")
            } 
        </script>
    </head>
    <body>
        <form>
            機(jī)密:
            <input name="txt" type="text" >
            <input name="" type="button" value="提交之后移開鼠標(biāo)"  onmouseout="fun()"/>
        </form>
    </body>
</html>


繼續(xù)學(xué)習(xí)
||
<!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>php.cn</title> <script> function fun(){ window.alert("提交成功了") } </script> </head> <body> <form> 機(jī)密: <input name="txt" type="text" > <input name="" type="button" value="提交之后移開鼠標(biāo)" onmouseout="fun()"/> </form> </body> </html>
提交重置代碼
章節(jié)
筆記
提問
課件
反饋
捐贈

javascript初級教程

  • 推薦課程
  • 評論
  • 問答
  • 筆記
  • 課件下載

onmoseout 鼠標(biāo)移開

7年前    添加回復(fù) 0

我只是一條咸魚哈

神奇的東西哈哈哈哈

7年前    添加回復(fù) 0

一輛想出軌的無軌電車

鼠標(biāo)事件比較著看,會有明顯對比,記得比較清楚

8年前    添加回復(fù) 0

我又來了

了解

8年前    添加回復(fù) 0

學(xué)習(xí)ing

我真的是把鼠標(biāo)移上去再慢慢移開的,哈哈哈

8年前    添加回復(fù) 0

櫥窗的光

離開之后發(fā)生的事件

8年前    添加回復(fù) 0

末日的春天

比較簡單易懂的事件

8年前    添加回復(fù) 0

課件暫不提供下載,工作人員正在整理中,后期請多關(guān)注該課程~