码迷,mamicode.com
首页 > Web开发 > 详细

jQuery 拼接事件

时间:2017-03-23 19:57:23      阅读:505      评论:0      收藏:0      [点我收藏+]

标签:idt   line   work   html   cli   std   str   amp   else   

if(listData[i][3]==1){
div_html += "<tr height=‘15‘ bgcolor=‘red‘ onDblClick=‘_$online_dbclick(\""+workNumber+"\",\""+workerName+"\",\""+line+"\",\""+job+"\",\""+isTrain+"\");‘>";
div_html += " <td align=‘center‘ style=‘color:red;‘ width=‘20‘>&nbsp;"+(i+1)+"&nbsp;</td>";
div_html += " <td align=‘center‘ width=‘150‘ ‘>"+job+"</td> ";
div_html += " <td align=‘center‘ width=‘150‘ ‘>"+isTrain+"</td>";
div_html += " <td align=‘center‘ width=‘150‘ ‘>"+exVal+"</td>";
div_html += "</tr> ";
}else{
div_html += "<tr height=‘31‘ bgcolor=‘green‘ onDblClick=‘_$online_dbclick(\""+workNumber+"\",\""+workerName+"\",\""+line+"\",\""+job+"\",\""+isTrain+"\");‘>";
div_html += " <td align=‘center‘ style=‘color:red;‘ width=‘20‘>&nbsp;"+(i+1)+"&nbsp;</td>";
div_html += " <td align=‘center‘ width=‘150‘ >"+job+"</td> ";
div_html += " <td align=‘center‘ width=‘150‘ > "+isTrain+"</td>";
div_html += " <td align=‘center‘ width=‘150‘ >"+exVal+"</td>";
div_html += "</tr> ";
}

jQuery 拼接事件

标签:idt   line   work   html   cli   std   str   amp   else   

原文地址:http://www.cnblogs.com/qq1988627/p/6606861.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!