好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

jQuery隐藏按钮

jQuery隐藏按钮

 jQuery隐藏按钮
 <html>
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>jQuery隐藏按钮</title>
  <script type="text/javascript" src="jQuery/jquery-1.6.2.min.js"></script>
  <script type="text/javascript"> 
   $(document).ready(  function  ()
   {
    $(document.getElementById( "fisrt")).click( function  ()
    {
     $(document.getElementById( "fisrt" )).hide();
    });
    $(document.getElementById( "second")).click( function  ()
    {
     $(document.getElementById( "second" )).hide();
    }
    );
   });
   </script>
  <link rel="sheetstyle" type="text/css" href="" />
 </head>
 <body>
  <button type="button" id="fisrt">我消失!</button>
  <button id="second">我隐藏!</button>
 </body>
</html>

查看更多关于jQuery隐藏按钮的详细内容...

  阅读:39次