var arr =[];$("tr input").each(function(){ arr.push($(this).val()) }) 转载于:https://www.cnblogs.com/sanqiyi/p/7211478.html