(1)var tr = "";
tr = ‘<tr><td>银行转账</td><td>‘+O_AMOUNT+‘</td><td>‘+P_DT+‘</td><td></td><td></td><td></td><td>‘+P_HL_ZH+‘</td> <td>‘+P_U_ZH+‘</td><td>‘+P_U_HM+‘</td><td><a href="javascript:void(0);" onclick="deleteCurrentRow(this,‘+O_AMOUNT+‘)">删除</a></td></tr>‘;
$("#dataTR").append(tr);
(2)var img = "${applicationScope.rootpath}upload/payInput/"+imgs[i] ;
images += ‘<img name="P_ATTR_IMGS" onclick="showBig(\‘‘+img+‘\‘)" style="width:230px;" src="‘+img+‘" />‘;
var hh = ‘<td id="‘+kk[1]+‘" style="position: relative;"> <img width="100px" height="150px" onclick="showBig(\‘${applicationScope.rootpath}/upload/payInput/‘+kk[0]+‘\‘)" src="${applicationScope.rootpath}/upload/payInput/‘+kk[0]+‘" /><a style="position: absolute; margin-left: -20px;" href="javascript:void(0)" title="删除该图片"> <img src="${applicationScope.rootpath}image/remove.jpg" onClick="removeThisImg(\‘‘+kk+‘\‘)" style="width:20px;height:20px;"/></a> </td>‘;
小数计算: var total = parseFloat(total) - parseFloat(value);//还有parseInt
$("#total").html(total.toFixed(2));//精确到两位小数