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 even $('.foo').queue();
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 even $('.foo').queue();
Each element has its own queue.
Calling $('.foo').queue();
will queue the function on every .foo
element.