• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
返回主页

永醉雨辰

  • 博客园
  • 首页
  • 新随笔
  • 联系
  • 订阅
  • 管理

jQuery选择器概览

  • 层级

    • ancestor descendant
    • parent > child
    • prev + next
    • prev ~ siblings
  • 基本筛选器

    • :first
    • :not(selector)
    • :even
    • :odd
    • :eq(index)
    • :gt(index)
    • :lang1.9+
    • :last
    • :lt(index)
    • :header
    • :animated
    • :focus
    • :root1.9+
    • :target1.9+
  • 内容

    • :contains(text)
    • :empty
    • :has(selector)
    • :parent
  • 可见性

    • :hidden
    • :visible
  • 属性

    • [attribute]
    • [attribute=value]
    • [attribute!=value]
    • [attribute^=value]
    • [attribute$=value]
    • [attribute*=value]
    • [attrSel1][attrSel2][attrSelN]
  • 子元素

    • :first-child
    • :first-of-type1.9+
    • :last-child
    • :last-of-type1.9+
    • :nth-child
    • :nth-last-child()1.9+
    • :nth-last-of-type()1.9+
    • :nth-of-type()1.9+
    • :only-child
    • :only-of-type1.9+
  • 表单

    • :input
    • :text
    • :password
    • :radio
    • :checkbox
    • :submit
    • :image
    • :reset
    • :button
    • :file
  • 表单对象属性

    • :enabled
    • :disabled
    • :checked
    • :selected
posted @ 2017-06-21 20:40  永醉雨辰  阅读(112)  评论(0)    收藏  举报
刷新页面返回顶部

公告

博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3