1.id名为sl的input框循环赋值 $("input[id=sl]").each(function(){alert(this.value) }) 转载于:https://www.cnblogs.com/xujiating/p/6210785.html