jquery遍历input取得input的name

2020-05-19 07:32:33易采站长站整理


$(“input:text”, document.forms[0]).each(function(){alert(this.name)});