87,907
社区成员
发帖
与我相关
我的任务
分享
、
function datalist(u) {
if (u.length == 0) {
$("tbody").append("<tr><th colspan=7>暂无数据!</th></tr>");
} else {
for (i = 0; i < u.length; i++) {
$("tbody").append("<tr id=" + u[i].id + " class='whi'> <th ><input id='aa' class='citmes' type='checkbox' name='items' value=" + u[i].id + " falg=1></th><th>" + u[i].name + "</th><th >" + u[i].age + "</th><th >" + u[i].sex + "</th><th >" + u[i].birthday + "</th><th >" + u[i].phone + "</th><th >" + u[i].address + "</th></tr>")
}
}
$(function(){
$('.citmes').click(function(){
console.log($(this))
})
})