I have this submenu that opens with mouseover, and all was good until I tested on firefox. Seems like this code doesnt work on IE nor firefox, is() isnt working. Any ideas?
this is my code:
$("#m4").mouseenter(function () {
m4 = false;
submenu(2)
});
$("#m4").mouseleave(function () {
if ($("#panel2").is(':hover')) {
m4 = false
} else {
m4 = true
}
submenu(2)
})
$("#panel2").mouseleave(function () {
m4 = true;
submenu(2)
});