Reputation: 329
I'm trying to make a drop-down menu, works fine in firefox It does not work in other browsers
get the following error:
jQuery(".parent").hover( function () {
jQuery(this).toggleClass("activeli").(".parent").stop(true, true).slideToggle(); << error line
});
This is the web link http://www.jeanca.com/clientes/evoca/
Upvotes: 1
Views: 2172
Reputation: 25776
The problem is toggleClass("activeli").(".parent")
Probably should be.
jQuery(this).toggleClass("activeli").find(".parent").stop(true, true).slideToggle();
Upvotes: 3