posts - 167,  comments - 30,  trackbacks - 0

           

          <script type="text/javascript">
                      function btn_change_click()
                      
          {
                          var url 
          = "<%=request.getContextPath()%>/rmp/reqchange/beforeChangeOrder.do";
                          var  inputChecked 
          = document.getElements("input[name='ckids']").filterByAttribute("checked","=",true);
                          
          if(inputChecked.length>1)
                          
          {
                              alert(
          "每次只能操作一條記錄");
                              
          return;
                          }

                          
          if(inputChecked.length<1)
                          
          {
                              alert(
          "請(qǐng)選擇一條記錄");
                              
          return;
                          }

                          window.location 
          =url + "?orderId=" + inputChecked[0].value;
                          
                      }
                      
              
                  
          </script>


              
          <input type="button" class="button_1" id="button4" value=" 項(xiàng)目變更 " onclick="btn_change_click()">

          <input type="checkbox" name="ckids" value="111"/>
          <input type="checkbox" name="ckids" value="222"/>
          posted on 2009-12-09 16:37 David1228 閱讀(254) 評(píng)論(0)  編輯  收藏 所屬分類: JavaScript

          <2009年12月>
          293012345
          6789101112
          13141516171819
          20212223242526
          272829303112
          3456789

          常用鏈接

          留言簿(4)

          隨筆分類

          隨筆檔案

          文章檔案

          新聞分類

          新聞檔案

          相冊(cè)

          收藏夾

          Java

          Linux知識(shí)相關(guān)

          Spring相關(guān)

          云計(jì)算/Linux/虛擬化技術(shù)/

          友情博客

          多線程并發(fā)編程

          開源技術(shù)

          持久層技術(shù)相關(guān)

          搜索

          •  

          積分與排名

          • 積分 - 358881
          • 排名 - 154

          最新評(píng)論

          閱讀排行榜

          評(píng)論排行榜

          主站蜘蛛池模板: 定结县| 桦南县| 六枝特区| 东台市| 溧水县| 诏安县| 江陵县| 尤溪县| 同江市| 定西市| 孝义市| 泽普县| 喀什市| 监利县| 屏东县| 崇义县| 略阳县| 新建县| 奉节县| 海口市| 景东| 凌源市| 新干县| 辛集市| 乐昌市| 兴文县| 黔南| 铜陵市| 济阳县| 石狮市| 广丰县| 莱西市| 辉县市| 罗山县| 嘉鱼县| 雷州市| 嵊州市| 秦皇岛市| 繁峙县| 乐至县| 明溪县|