jquery遍历input取得input的name

(编辑:jimmy 日期: 2026/1/19 浏览:2)

复制代码 代码如下:
$("input:text", document.forms[0]).each(function(){alert(this.name)});