ajax 初始化下拉列表
$.ajax({
url: "<%=rootPath%>/index!getCommonQuery.action?querySql="+querySql,
type:"post",
dataType:"json",
success: function(json){
$.each(json, function(i){
var tempHTML1= " <option value="+ json[i].ID + ">"+json[i].NAME ;
$('#groupId').append(tempHTML1);
});
}
});