开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜