获取除当前元素外的所有类名相同的元素


$('.ele').click(function(){ $('.ele').not($(this)); })

 

posted @ 2018-06-06 17:44  党欣彤  阅读(321)  评论(0)    收藏  举报