$(":input").each(function(){ alert(" value:"+$(this).val()); }); 转载于:https://www.cnblogs.com/shuenjian901/p/3558841.html