夺命雷公狗jquery---19事件切换hover

<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title></title>
        <script src="js/jquery.js"></script>
        <script>
            $(function(){
                $('img').hover(function(){
                    $('#result').html('GOGOGO');
                },function(){
                    $('#result').html('out-out');
                })
            })
        </script>
    </head>
    <body>
        <img src="images/1.jpg" width='100' height='100'>
        <hr />
        <div id="result"></div>
    </body>
</html>
原文地址:https://www.cnblogs.com/leigood/p/4910903.html