鼠标点击区域问题

$('#J_input_name').on("click",function(e){
e.stopPropagation();
$('#J_select_popup').addClass('in');
});
$('body').on("click", function() {
$('#J_select_popup').removeClass('in');
});
$('#J_select_popup').on("click", function(e) {
e.stopPropagation();
});

posted @ 2014-02-19 11:29  安雅然  阅读(206)  评论(0编辑  收藏  举报