麻烦高手帮忙看下这段拼接!我是用模板做的!就是+号拼接有问题!
var mag = '<div id="PersonInfo">'+ '<table border="0" class="tablekingda">'+
'<tfoot>'+
'<tr>'+
'<td colspan="6"> </td>'+
'</tr>'+
'</tfoot>'+
'<thead>'+
'<tr>'+
'<th>推荐的会员手机号 </th>'+
'<th>获得现金券金额</th>'+
'</tr>'+
'</thead>'+
'<tbody>'+ #foreach($row in $PersonInfo)
'<tr>'+
'<td>'+ $row.MobilePhoneNo +'</td>'
+'<td>'+$row.Charge元+'</td>'+
'</tr>'
#end
'</tbody>'+
'</table>'+
' </div>'
jQuery.blockUI({ message: mag, css: { top: ($(window).height() - 400) / 2 + 'px', left: ($(window).width() - 400) / 2 + 'px', width: '400px'} });