$('div').click(function(e){
e = window.event || e;
obj = $(e.srcElement || e.target);
if(obj.attr('id') == 'edit' )
return false;
});
$('div').click(function(e){
e = window.event || e;
obj = $(e.srcElement || e.target);
if(obj.attr('id') == 'edit' )
return false;
});
转载于:https://www.cnblogs.com/linghai/p/4939168.html