Quick question. I have a DIV series with the following classes.level1 .level2 .level3
This is what I want ... When I'm over .level1, I would like the selector to select .level2. In other words, .level+1 everything that I would point.
How to write this in JavaScript or jQuery ... X in code, where I need this to go
$(".no-submenu").hover(function() {
$.data(this, "timer", setTimeout($.proxy(function() {
$( X ).hide();
}, this), 700));
}, function() {
clearTimeout($.data(this, "timer"));
});
Any help is much appreciated, thanks
Nasir source
share