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


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

 

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