jQuery Queue: Does it matter where you bind it to?
I read this great thread: What are queues in jQuery?
Now it makes me wonder:
Does it matter which DOM object you bind queue to?
i.e. $('div').queue();
vs. $('body').queue({})
or e开发者_开发问答ven $('.foo').queue();
Each element has its own queue.
Calling $('.foo').queue();
will queue the function on every .foo
element.
精彩评论