jquery获取dom元素
快速浏览一下在jQuery中使用多重选择器同时说出多个dom元素的动画。 请记住,动画函数是异步的,因为它可以同时在多个元素上执行。
http://api.jquery.com/multiple-selector/
多重选择器(“选择器1,选择器2,选择器N”)
//does not work
$('#content', '#sidebar-grab').animate(
//works
$('#content,#sidebar-grab').animate(
翻译自: https://www.sitepoint.com/jquery-animate-mutiple-dom-elements-time/
jquery获取dom元素