posts - 35,  comments - 6,  trackbacks - 0

          function addgxInput(talbeId) {
           var newline; 
           if(talbeId=='jdzl'){
            newline=document.all.jdzl.insertRow();
           }
           
             HTMLSrc1="<td height='25' align='center' class='tdline'><div align='center'>&nbsp;<input type='text' size='10' ></div></td>"; 
            HTMLSrc2="<td align='center' class='tdline'><div align='left'>&nbsp;<input type='text' size='35' ></div></td>"; 
            HTMLSrc3="<td align='center' class='tdline'><div align='center'>&nbsp;<input type='text' size='25' ></div></td>"; 
            HTMLSrc5="<td class='tdline'><div align='center'>"+
              "<a href='problemView.htm'><img src='<%=request.getContextPath()%>/images/icon/office/edit.gif' value='4' width='18' height='18' title='編輯'\"></a>"+
             "<img src='../images/icon/office/delete.gif' value='4' width='18' height='18' title='刪除' onclick=\"delInput('"+talbeId+"',this.parentNode.parentNode.parentNode);\"></div></td>";
            newline.height="22";
           newline.bgcolor="#ffffff";
           newline.onMouseOver="this.style.backgroundColor='#ACDCEE'";
           newline.onMouseOut="this.style.backgroundColor='#FFFFFF'";
           newline.insertCell().innerHTML=HTMLSrc1;
           newline.insertCell().innerHTML=HTMLSrc2;
           newline.insertCell().innerHTML=HTMLSrc3;
           newline.insertCell().innerHTML=HTMLSrc5;
          }

          function delInput(tableId,x){
          var temp="";
          if(tableId=='jdzl'){
            temp=document.all.jdzl;
           }

          temp.deleteRow(x.rowIndex);
          }

          posted on 2007-04-17 14:13 NG 閱讀(402) 評論(0)  編輯  收藏

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


          網站導航:
           
          <2007年4月>
          25262728293031
          1234567
          891011121314
          15161718192021
          22232425262728
          293012345

          常用鏈接

          留言簿(1)

          隨筆檔案(35)

          文章分類(5)

          文章檔案(2)

          新聞檔案(5)

          java link

          搜索

          •  

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 睢宁县| 元谋县| 红安县| 调兵山市| 靖江市| 平果县| 灌阳县| 博白县| 柘荣县| 虎林市| 大埔县| 威远县| 重庆市| 彩票| 大田县| 华安县| 阳曲县| 门源| 册亨县| 河西区| 丹寨县| 遂宁市| 舒兰市| 绿春县| 宁都县| 清水河县| 塔城市| 温宿县| 晋江市| 安仁县| 琼中| 枣阳市| 五家渠市| 克什克腾旗| 抚宁县| 视频| 静安区| 花垣县| 开平市| 丹寨县| 大足县|