<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Typ…
方法一: var siginArray = []; $("#tbody").children("tr").each(function () { var sigin = {}; var tdArr = $(this).children(); var siginUserId = tdArr.eq(0).find("input").val(); var attended = tdArr.eq(2).find("input").val…
jQuery遍历table中的tr td并获取td中的值 $(function(){ $("#tableId tr").find("td").each(function(){ <span style="white-space:pre"> </span> var year = $("#year").val(); var month = $("#month").val(); var da…