JAVA工具
          JAVA使用軟件 開發工具
          posts - 87,  comments - 9,  trackbacks - 0
          <html xmlns="http://www.w3.org/1999/xhtml" >
          <head runat="server">
              
          <title></title>
              
          <script type="text/javascript" src="../js/jquery.js"></script>
              
          <script type="text/javascript">
                  $(document).ready(
          function() {

              });
              
          function showDiv() {
                  $(
          "body").find('.editItem').removeClass("itemNone");
                  alert(
          "hello world !");
              }
              
          function hideDiv() {
                  $('body').find('.editItem').addClass(
          "itemNone");
              } 
              
          </script>
              
          <style type="text/css">
              .itemNone
          { display:none;}
              
          </style>
          </head>
          <body>
              
          <form id="form1" runat="server">
              
          <input type="button" onclick="showDiv()"  value="show"/>
              
          <input type="button" onclick="hideDiv()"  value="hide"/>
              
          <div class="editItem"> 中國軟件</div>
              
          <div class="editItem"> 中國軟件</div>
              
          <div class="editItem"> 中國軟件</div>
              
          <div class="editItem"> 中國軟件</div>
              
          </form>
          </body>
          posted on 2012-04-26 21:24 王豪 閱讀(942) 評論(0)  編輯  收藏 所屬分類: JQuery

          常用鏈接

          留言簿

          隨筆分類

          隨筆檔案

          搜索

          •  

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 遂川县| 阜城县| 横山县| 台湾省| 延安市| 横峰县| 介休市| 宜昌市| 沙湾县| 蕲春县| 寿阳县| 邯郸市| 乐陵市| 宁德市| 宜章县| 西平县| 通城县| 邓州市| 桂平市| 安仁县| 抚松县| 盘山县| 芒康县| 巴东县| 博野县| 改则县| 毕节市| 靖宇县| 日喀则市| 遂川县| 米易县| 蓬莱市| 淮南市| 凌海市| 方山县| 琼结县| 宜黄县| 罗江县| 旺苍县| 成安县| 平利县|