$('.ele').click(function(){ $('.ele').not($(this)); }) 转载于:https://www.cnblogs.com/dxt510/p/9146425.html