There is a valid menu:
<ul id="menu"> <li><a href="">Item 1</a> <ul><li>Item 1.1</li> <li>Item 1.2</li> <ul> </li> <li><a href="">Item 2</a> <ul><li>Item 2.1</li> <li>Item 2.2</li> <ul> </li> </ul> How to make an appeal to the right LI correctly so that its submenu is activated? Provided that the call should work in the following function:
$("menu").onmouseover = function() { //тут обработка нужного LI } PS Not to be confused, the implementation is not on Jquery. PPS Juzat Jquery do not offer, there are requirements. Otherwise I would not steamed!
And along the way, the question is how this piece of code:
.onmouseover = function() { } do so
.mouseover(function() { } I know that mouseover will handle window.event but I can't add a handler.
For earlier thanks to all JS GURU :)