Menu
Hi,
I have the following functions that is coded in jQuery and I want to convert it to pure JavaScript if possible.
[code=html]$(document).mouseup(function (e) {
var container = $(‘#box’);
if (!container.is(e.target) && container.has(e.target).length === 0) {
…
}
});
Thanks for any ideas.