微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

moreSelectors for jQuery

程序名称:moreSelectors for jQuery

授权协议: 未知

操作系统: 未知

开发语言:

moreSelectors for jQuery 介绍

The moreSelectors plugin gives us extra :selectors to use in our queries.
For example:

  • $(“DIV:color(red)”) to match DIVs with red text. Handles #rrggbb and rgb(r,g,b) too.
  • $(“TD:colIndex(1)”) to match table cells in column 1 (allowing for colSpans too).
  • $(“INPUT:modified”) to match INPUTs that have been changed.
  • $(“FORM/*:blur”) to match form element that last had the focus.
  • $(“DIV:parents(TD)”) - Match DIVs that are inside table cells.
  • $(“DIV”).attrs(“id”) - Return an array of IDs from all the DIVs.
  • $(“TH”).filter({colSpan:2, title:”abc”}) - An enhancement to the .filter() method to optionally filter by attributes provided in {name:value} object notation
  • … and many more

Click the homepage link to download moreSelectors.js

moreSelectors for jQuery 官网

http://plugins.jquery.com/project/moreSelectors

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐