usage | Statistics | |
#id | 51.290% | 1431 |
.class | 13.082% | 365 |
tag | 6.416% | 179 |
tag.class | 3.978% | 111 |
#id tag | 2.151% | 60 |
tag#id | 1.935% | 54 |
#id:visible | 1.577% | 44 |
#id .class | 1.434% | 40 |
.class .class | 1.183% | 33 |
* | 0.968% | 27 |
#id tag.class | 0.932% | 26 |
#id:hidden | 0.789% | 22 |
tag[name=value] | 0.645% | 18 |
.class tag | 0.573% | 16 |
[name=value] | 0.538% | 15 |
day day | 0.502% | 14 |
#id #id | 0.430% | 12 |
#id day day | 0.358% | 10 |
This article is reproduced from: jQuery 1.3 Best Practices (1): Selectors
Detailed page: http://www.verydemo.com/demo_c110_i6041.html