当前位置:首页 >> 网络编程

jquery遍历input取得input的name

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