Please help me solve the following error when I hover over the main menu the submenu dropdown won't show.
The HTML looks like this:
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"
role="button" aria-expanded="false">
Page<span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">
<li><a href="404.html">404 Page</a></li>
<li><a href="#">Link Two</a></li>
<li><a href="#">Link Three</a></li>
</ul>
</li>
Javascript code is the following:
$('ul.nav li.dropdown').hover(function() {
$(this).find('.dropdown-menu').stop(true, true).delay(200).fadeIn(200);
}, function() {
$(this).find('.dropdown-menu').stop(true, true).delay(200).fadeOut(200);
});