var code = $("#code").val();//851,939,943,982
var code1 = code.split(",");
//这是数组 转成这样 Array(4)
0: "851"
1: "939"
2: "943"
3: "982"
length: 4
proto: Array(0)
var code = $("#code").val();//851,939,943,982
var code1 = code.split(",");
//这是数组 转成这样 Array(4)
0: "851"
1: "939"
2: "943"
3: "982"
length: 4
proto: Array(0)