(003)jquery_id选择器

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
  <head>
    <title>f_html.html</title>
    
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="this is my page">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    
    <!--<link rel="stylesheet" type="text/css" href="./styles.css">-->
    <script type="text/javascript" src="../js/jquery/jquery190.js"></script>
    <script type="text/javascript">
        $(document).ready(function(){
            $("#mydiv").html("hello");
        });
    </script>
  </head>
  
  <body>
        <div id="mydiv">div1</div>
  </body>
  
</html>

 

posted @ 2014-12-08 09:39  雪中飞雁  阅读(61)  评论(0)    收藏  举报