function
makeEducPlanTable(){
var
data = eval(
'('
+ responseText +
')'
);
var
tab = $(
"#educPlanContent"
);
var
html = [];
if
(data.length > 0){
var
trBgColor =
'#FFFFFF'
;
for
(
var
i=0;i<data.length;i++){
if
(i%2 == 0){
trBgColor =
"#FFFFFF"
;
}
else
{
trBgColor =
'#F5FAFA'
;
}
var
plan = data[i];
html.push(
"<tr align='center' valign='middle' bordercolor='#0000FF' bgcolor='"
+ trBgColor +
"' id='childPlan'"
+ plan.childNo +
">"
);
html.push(
"<td><input type='checkBox' value='"
+ plan.childNo +
"' name='childPlan'/></td>"
);
html.push(
"<td>"
+ plan.num +
"</td>"
);
html.push(
"<td>"
+ plan.age +
"</td>"
);
html.push(
"<td>"
+ plan.startEduAge +
"</td>"
);
html.push(
"<td>"
+ plan.sEduStage +
"</td>"
);
html.push(
"<td>"
+ plan.eEduStage +
"</td>"
);
html.push(
"</tr>"
);
}
}
tab.html(
""
);
tab.append(html.join(
""
));
}