摘要: 只是从网上搜集的一些资料的概括, 有些完全有别于我固定的思维,比如说$('selector').find('descendant')的效率要比$('slector').children('descendant')的效率高,记得我一年前,我还坚定地说着相反的话。http://jsperf.com/jquery-context-find-and-children-selectors/6 简要地归为下面几点 1 id>tag>class>attribute||class||伪类 .class 在现代浏览器中表现不错,因 阅读全文
posted @ 2013-03-20 14:43 积跬步 阅读(245) 评论(0) 推荐(0) 编辑