//清空表格
$("#studentTab").empty();
$.ajax({
type:"POST",
url:"../../student.action",
dataType:"json",
data:{
"stuNo":stuNo
},
success:function(data){
var str;
for(var i=0;i{
str = "" "" data.items[i].stuNo " | "
"" data.items[i].stuName " | "
"" data.items[i].stuAge " | "
"" data.items[i].stuSex " | "
"" data.items[i].stuAddr " | "
"" data.items[i].stuPhone " | "
"" data.items[i].stuAge " | "
"
";
$("#studentTab").append(str);
}
}
});