zilei.click(ev){
var e = ev||event;
e.stopPropagation();
//dosomething
}
$(document).click(function(){
zilei.css('display','none');
});
zilei.click(ev){
var e = ev||event;
e.stopPropagation();
//dosomething
}
$(document).click(function(){
zilei.css('display','none');
});
转载于:https://www.cnblogs.com/MainActivity/p/8483292.html