View Full Version : li submenu losing focus

10-23-2013, 02:40 PM
Hi , we have an application where we use smartclient components to display data in Grids. On top of all the grids we have a topLevel horizontal menu and subMenus within each menu. we are using ddSmoothMenu (hover) to display the submenus and upon clicking any option we make a server call and update the grids . Now the issue we see in IE is upon clicking the subMenu the server Call is made and while updating the grid the focus is shifting to the grid and the subMenu is disappearing though the mouse is on the subMenu. We have to hover again on the Menu for the subMenu to appear and make a new selection.

One option we tried was to do jquery mouseOver on the menu where we hovered (trying to programatically hover after the grid is updated), but the subMenu did not dropdown.


this issue does not happen in Chrome. But since majority of our users use IE we have to fix the issue. Can any one please provide a suggestion on how we could solve the issue ?

10-23-2013, 03:15 PM

In the future, please post about Dynamic Drive Scripts in the Dynamic Drive Scripts Help section here where I've moved this thread, and:

Warning: Please include a link to the DD script(s) in question in your post. See this post (http://www.dynamicdrive.com/forums/showpost.php?p=7) for more information.

I'm assuming you mean:


If so, the correct way to mimic what the script does is .mouseenter(), not .mouseover(). But you have to make sure you're doing it to the right element. It's the li tag, not the a tag.

If you want more help, please include a link to the page on your site that contains the problematic code so we can check it out.