<div>
姓名:<input id="name" name="name" type="text"/>
学号:<input id="number" id="number" type="text"/><br />
班级:<select id="orgClass" name="orgClass"></select>
性别:<select id="gender" name="gender">
<option value ="0">男</option>
<option value ="1">女</option>
</select>
生日: <input id="birthday" name="birthday" type="text" onclick="WdatePicker()"/>
</div>
<script type="text/javascript">
//初始化班级下拉单
var orgClassList = ${orgClassList};
var $selec=$("#orgClass");
var $opt = $("<option></option>")
for(var i =0 ; i<(len=orgClassList.length);i++){
var id = orgClassList[i].id;
var name = orgClassList[i].name;
var $opt = $("<option></option>").text(name).val(id);
$selec.append($opt);
}