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


$('.ele').click(function(){ $('.ele').not($(this)); })
原文地址:https://www.cnblogs.com/dxt510/p/9146425.html