学会使用class或其他自定义属性同时控制多个标签 ,不要总使用id 进行逐个控制 ,jquery 不易书写

$(body).find("not(.vnn)").click(function(){
alert("fd");
$("#indestryjiegou").html("");
$("#indestryjiegouEr").html("");
$("#indestryjiegouSan").html("");
});

not  不常用 ,因为 not外元素不可控 ,可能会很多

而不是 

$(body).find("not(id=vnn)").find().find().click(function(){

原文地址:https://www.cnblogs.com/zhangchenglzhao/p/3023626.html