<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>挑战题</title>
</head>
<script src="http://libs.baidu.com/jquery/1.9.0/jquery.js" type="text/javascript"></script>
<body>
<h3>学生信息列表</h3>
<ul> </ul>
<script type="text/javascript">
$(function(){
var students = [
{ "name": "LiMing",
"age": 20,
"sex": "F"
},
{ "name": "WangYuan",
"age": 22,
"sex": "M"
},
{ "name": "ZhangHen",
"age": 23,
"sex": "F"
}];
$.each(students,function(index,iterm){
$("ul").append("<li>姓名:"+iterm["name"]+"</br>年龄:"+iterm["age"]+"</br>性别:"+iterm["sex"]+"</li>"); });
});
</script>
</body>
</html>