ITPub博客

首页 > 应用开发 > IT综合 > jQuery遍历-each() 方法

jQuery遍历-each() 方法

原创 IT综合 作者:amazinget 时间:2015-02-16 11:14:23 0 删除 编辑

jQuery 遍历 - each() 方法


$(selector).each(function(index,element))


index - 选择器的 index 位置

element - 当前的元素(也可使用 "this" 选择器)

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/29959940/viewspace-1437139/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2014-10-15

  • 博文量
    14
  • 访问量
    70135