标签:
var telStr=$("#TELNUM").val();
var telsPre=telStr.split(",");
var tels=telsPre.reverse();
var size = tels.length;
for(var i=0; i<size; i++){
if(""!=tels[i])
{
var index=0;
if(i==0){
d["CUSTOMER_TEL"] =tels[i];
index=1;
}else{
d["CUSTOMER_TEL"+(i+index)] =tels[i];
}}
}
标签:
原文地址:http://www.cnblogs.com/shunzdd/p/5585969.html