Joined December 2012
·

Jenna Smith

growldesign
·
London
·
·
·

Just wanted to note that this is only correct when searching by ID.

Searching by tag name yields different results in modern browsers where $('div').find('p')</code> is slower than $('div p')</code> because the latter uses querySelector().

http://jsperf.com/find-vs-sizzle-jf

Achievements
45 Karma
0 Total ProTip Views