Is it faster to use
$(".classname").
or add a tag to search also
$("div.classname")
I think this is the name of the class, since I'm sure jquery will just loop around to get all the class names, where the second will get all the div tags first and then quote this subset to get the cool names. Here is what I think anyway.
Somebody knows?
source
share