var arr = []
for (var i = orglist.length - 1 i >= 0 i--) {
arr.push(orglist[i].trader)
// orglist[i].id就是对应的id值
}
var jsAutoInstance = new jsAuto("jsAutoInstance", "divc")
jsAutoInstance.item(arr.join(","))
for (var i = 0 i < 3 i++) {(function(i) {
document.getElementsByClassName("btn").item(i).onmousedown = function() {
alert(i)
}
})(i)
}