开发者

uncaught syntaxerror unexpected string

开发者 https://www.devze.com 2023-04-10 08:03 出处:网络
I\'m trying to make a drop-down menu, works fine in firefox It does not work in other browsers get the following error:

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 () {
    j开发者_StackOverflowQuery(this).toggleClass("activeli").(".parent").stop(true, true).slideToggle(); << error line
});

This is the web link http://www.jeanca.com/clientes/evoca/


The problem is toggleClass("activeli").(".parent") Probably should be.

jQuery(this).toggleClass("activeli").find(".parent").stop(true, true).slideToggle();
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号