I’ve gotten a few questions on the Twitters about multiple classnames, and how $(”.class”).find(”.other”) compares with $(”.class .other”). I’ve knocked together a really quick jsperf for that one, though I’ve only tested it in Safari/OS X so far. Hit it in different browsers and let’s see what’s the haps!
I’ve gotten a few questions on the Twitters about multiple classnames, and how $(”.class”).find(”.other”) compares with $(”.class .other”). I’ve knocked together a really quick jsperf for that one, though I’ve only tested it in Safari/OS X so far. Hit it in different browsers and let’s see what’s the haps!
http://jsperf.com/jquery-nested-class-selectors