• 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);
    
  • 相关阅读:
    结对-四则运算-最终程序
    结对- 四则运算器-结对项目总结
    课后作业-阅读任务-阅读提问-3
    课后作业-现代软件工程-阅读笔记
    软件工程课程总结
    团队-学生成绩管理一阶段互评
    结对-英文词频检测程序-测试过程
    团队-学生成绩管理-项目进度
    团队-学生成绩管理-模块开发过程
    eclipse下的文件路径问题
  • 原文地址:https://www.cnblogs.com/wujixing/p/5916169.html
Copyright © 2020-2023  润新知