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);
    
  • 相关阅读:
    一个.java源文件中可以有多个类吗?(内部类除外)有什么条件?
    接口中定义的变量为什么是常量
    关于String s = new String("xyz");创建了几个字符串对象?的问题
    java面试题之----JVM架构和GC垃圾回收机制详解
    Object中的clone方法
    C/S与B/S架构的区别和优缺点
    EJB是什么?
    JNDI是什么,怎么理解
    java中什么是上下文(servletContext)
    java面试题----String、StringBuffer、StringBudder区别
  • 原文地址:https://www.cnblogs.com/wujixing/p/5916169.html
Copyright © 2011-2022 走看看