日期:2014-05-16  浏览次数:20385 次

为什么会触发mouseout事件?
贴上源代码:
 <script type="text/javascript" src="Scripts/jquery-1.4.1.js"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $(".cont").mouseover(function () {
                alert("over");
            }).mouseout(function () { 
            alert("out"); });
        });
    </script>
    <style type="text/css">
        .cont
        {
            background-color: Red;
            width: 300px;
            height: 180px;
        }
        .cont table
        {
            width:260px;
            height:100px;
            }
    </style>
</head>
<body>
    <div class="cont">
        <table border="1">
            <tr>
                <td>
                </td>
                <td>
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td>