Welcome 微信登录

首页 / 脚本样式 / JavaScript / jquery遍历input取得input的name

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