Monday, June 22, 2015

JQuery : div hide on click outside of selectore

$(document).click(function(event) {
 if (!$(event.target).closest('#list-column,#col-btn').length) {
// Hide the menus.
$('#list-column').hide(200);
 }
});

No comments:

Post a Comment