The following code works but instead of clicking on the “Container” div section, I would like the function to be triggered by a mouseover event. What should I replace .click with below?
$('.container').click(function() {
$('.menuBar div').hide();
});
This should work.