Blogger Information
Blog 11
fans 2
comment 0
visits 9301
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
jQuery对象,ready()事件实例
Dr-Wu
Original
749 people have browsed it
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="http://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>

    <script>
      $(document).ready(function () {
          $(document.body).css('background','skyblue')
      })
    </script>
</head>
<body>
<p>这是百度首页的logo</p>
<img src="https://ss0.bdstatic.com/5aV1bjqh_Q23odCf/static/superman/img/logo/bd_logo1_31bdc765.png" alt="">
<script>
    $('p').css('color','red')
    $(document.images).mouseenter(function () {
        $(this).hide(2000)
    }).mouseleave(function () {
        $(this).show(2000)
    })
</script>
</body>
</html>


Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post