jquery css hover

    <script type="text/javascript">
        $(function () {
            $("#<%=btnSubmit.ClientID%>").css("background", "#ff0000");
            $("#<%=btnSubmit.ClientID%>").hover(function () { $(this).css('background', '#E63F00'); }, function () { $(this).css('background', '#ff0000'); });
        });
    </script>
posted @ 2016-08-22 16:01  李元伟丶  阅读(330)  评论(0编辑  收藏  举报