:attr
- 授权协议: 未知
- 开发语言:
- 操作系统: 未知
- 软件首页: http://plugins.jquery.com/project/AttributeSelector
软件介绍
This very small plugin to jQuery adds the ':attr' selector to the custom selector list.
It allows specifying more advanced options on attributes than the usual [@attribute] selector.
Example of use:
$('p:attr( @id>2 && @id<4 )').hide();
would hide every paragraphs with 2<id<4...You can compare strings with the following syntax:
$('p:attr( "@id">"B" )');
would select every paragraphs where id>B in alphabetical order.The expression placed in parameter will be evaluated with the attributes values and you can put any boolean-evaluated expression inside the parenthesis like the following
$('p:attr((@id==1) || (@id>2 && @id<4))').hide();Introduction to Algorithms, 3rd Edition
Thomas H. Cormen、Charles E. Leiserson、Ronald L. Rivest、Clifford Stein / The MIT Press / 2009-7-31 / USD 94.00
Some books on algorithms are rigorous but incomplete; others cover masses of material but lack rigor. Introduction to Algorithms uniquely combines rigor and comprehensiveness. The book covers a broad ......一起来看看 《Introduction to Algorithms, 3rd Edition》 这本书的介绍吧!
