//清空表格
$("#studentTab")。空の();
$.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 " " | " .items[i].stuName " " | " data.items[i].stuAge " " | " [i].stuSex " " | data.items[i].stuAddr " " | " ].stuPhone " | "
"" data.items[i].stuAge " " $( "#studentTab").append(str); } } });
|