zoukankan      html  css  js  c++  java
  • table新增空白行到首行

    var str="";
    			str+="<tr bordercolor='#DEDEDE' bgcolor='#ffffff'>";
    			str+="<input type='hidden' id='id' name='tid'>";
    	  		str+="<td align='center' bordercolor='#DEDEDE'><input type='checkbox' name='isSelect' ></input></td>";    
    	  		str+="<td bordercolor='#DEDEDE' width='120px'><input type='text' class='t'   id='name'   style='font-size:12px; color:black; text-align:center;120px'  onChange='saveTrip(this)' > </td>";
    	  		str+="<td bordercolor='#DEDEDE' width='110px'><input type='text'  class='t'   id='part'   style='font-size:12px;  color:black;  text-align:center;110px'  > </td>";
    	  		str+="<td bordercolor='#DEDEDE' width='110px'><input type='text'  class='t'   id='subPart'   style='font-size:12px;  color:black;  text-align:center;110px' > </td>";
    	  		str+="<td bordercolor='#DEDEDE' width='400px'><input type='text'  class='t'   id='purpose'   style='font-size:12px;  color:black;  text-align:center;400px' > </td>";
    	  		str+="<td bordercolor='#DEDEDE' width='110px'><input type='text'  class='t'   id='scheduleStart'   style='font-size:12px;  color:black;  text-align:center;110px' > </td>";
    	  		str+="<td bordercolor='#DEDEDE' width='110px'><input type='text'  class='t'   id='scheduleEnd'   style='font-size:12px;  color:black;  text-align:center;110px' > </td>";
    	  		str+="<td bordercolor='#DEDEDE' width='50px'><input type='text'  class='t'   id='duration'   style='font-size:12px;  color:black;  text-align:center;50px'  > </td>";
    	  		str+="<td bordercolor='#DEDEDE' width='80px'><input type='text'  class='t'   id='destination'   style='font-size:12px; color:black;   text-align:center;80px'  > </td>";
    	  		str+="<td bordercolor='#DEDEDE' width='80px'><input type='text'  class='t'   id='region'   style='font-size:12px;  color:black;  text-align:center;80px' > </td>";
    	  		str+="<td bordercolor='#DEDEDE' width='80px'><input type='text'  class='t'   id='department'   style='font-size:12px; color:black;   text-align:center;80px' > </td>";
    	  		str+="<td align='center' bordercolor='#DEDEDE' width='60px'> <img src='${pageContext.request.contextPath}/FlatUI/img/edit2.png' id='report'  width=18px height=18px/></a></td>";
    	  		str+="<td align='center' bordercolor='#DEDEDE' width='60px'> <img src='${pageContext.request.contextPath}/FlatUI/img/edit2.png' id='referrence'  width=18px height=18px/></a></td>";
    	  		str+="</tr>";
    	  		$("#tableTrip").prepend(str);
    
  • 相关阅读:
    Solon 开发进阶,二、体外扩展机制
    Solon Web 开发,二、开发知识准备
    Solon Web 开发,四、请求上下文
    CODING 项目协同 2.0 —— 让协作有条不紊
    (三)React组件的三大特性 State
    (四)React组件的三大特性 Props
    (五)React的三大特性 refs
    (二)React的组件的创建 ,js类的基础复习
    (一)React系列文章:虚拟DOM的创建与解释,注意的相关规则
    [源码解析] PyTorch 分布式(16) 使用异步执行实现批处理 RPC
  • 原文地址:https://www.cnblogs.com/wujixing/p/5916169.html
Copyright © 2011-2022 走看看