简体   繁体   English

未捕获的语法错误意外字符串

[英]uncaught syntaxerror unexpected string

I'm trying to make a drop-down menu, works fine in firefox It does not work in other browsers 我正在尝试创建一个下拉菜单,在Firefox中无法正常工作,但在其他浏览器中却无法正常工作

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/ 这是Web链接http://www.jeanca.com/clientes/evoca/

问题是toggleClass("activeli").(".parent")可能应该是。

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM