Js gets the method of the map type JSONArray returned through ajax
- 2020-03-30 01:17:18
- OfStack
for(var i in datares){
if (datares.hasOwnProperty(i)) {
sel.append("<option value='"+datares[i].deptid+"'>"+datares[i].deptname+"</option>");
}
}