本站不再更新,歡迎光臨 java開發技術網
          隨筆-230  評論-230  文章-8  trackbacks-0

          <html>
            <head>
              <title>快速定位</title>
             
              <meta http-equiv="pragma" content="no-cache">
              <meta http-equiv="cache-control" content="no-cache">
              <meta http-equiv="expires" content="0">   
              <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
              <meta http-equiv="description" content="This is my page">
           
           <style type="text/css">
             body{font-size:12px}
             td{font-size:12px}
           </style>
           <SCRIPT langague="javascript">
              var row_num=1;
              function winclose(){
                window.close();
              }

              function pos(){
                 var parentWin=window.dialogArguments;
                 //parentWin.document.all("input1").value="dfasfdsf";
                 var ptable=parentWin.document.all("tabA");
                 var tr=ptable.rows;
                 for(var row_num=1;row_num<tr.length;row_num++){
                    if((tr[row_num].cells[0].children[1].innerText==document.all("id").value)&&(tr[row_num].cells[5].children[0].innerText==document.all("procdure").value)){
                        alert("找到了!");
                        parentWin.tronclick(tr[row_num]);
                        tr[row_num].scrollIntoView()
                    }
                 }
              }
           </SCRIPT>
            </head>
           
            <body topmargin="0" leftmargin="0" style="overflow-x:hidden;overflow-y:hidden">
            <table width="380" height="102" border="0" cellpadding="0" cellspacing="1" bgcolor="#cccccc">
              <tr>
                <td height="24" align="center" bgcolor="#E1F0D2" colspan="6" style="font-size:12px">快速定位</td>
             </tr>
              <tr>
                <td width="71" height="23" bgcolor="#f5f5f5">&nbsp;&nbsp;序號 </td>
                <td width="306" bgcolor="#ffffff"> <input type="text" name="id"></td>
              </tr>
              <tr>
                <td height="24" bgcolor="#f5f5f5">&nbsp;&nbsp;品名</td>
                <td bgcolor="#ffffff"><input type="text" name="procdure"></td>
              </tr>
              <tr>
                <td colspan="2" >
                  <div align="center">
                    <input type="button" name="Submit" value="定 位" onclick="pos()">&nbsp;&nbsp;&nbsp;&nbsp;
                    <input type="button" name="Submit" value="關 閉" onclick="winclose()">
                  </div></td>
              </tr>
            </table>
            </body>
          </html>

          posted on 2006-03-15 13:14 有貓相伴的日子 閱讀(475) 評論(0)  編輯  收藏 所屬分類: javascript

          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          本站不再更新,歡迎光臨 java開發技術網
          主站蜘蛛池模板: 上思县| 木里| 和林格尔县| 阜宁县| 博罗县| 喀喇| 台中县| 嘉禾县| 黑山县| 新津县| 鱼台县| 阿尔山市| 南安市| 自治县| 时尚| 新竹县| 楚雄市| 白朗县| 绵阳市| 黔江区| 台前县| 濮阳县| 四平市| 孟村| 镶黄旗| 海淀区| 云林县| 安丘市| 澳门| 额尔古纳市| 恩施市| 昭平县| 兴和县| 噶尔县| 宣化县| 海门市| 夹江县| 白河县| 喀喇沁旗| 建湖县| 泗阳县|