jQuery升级后出现引导下拉菜单错误

jQuery升级后出现引导下拉菜单错误,jquery,twitter-bootstrap-3,Jquery,Twitter Bootstrap 3,我在jQuery1.10中使用Bootstrap3。升级到jQuery3.5.1之后,我在ChromeDeveloperTools中看到了这个错误,当点击一个引导下拉菜单项时。有没有办法让菜单与新版本的jQuery和Bootstrap3一起工作 jquery-3.5.1.min.js:2 Uncaught Error: Syntax error, unrecognized expression: # at Function.se.error (jquery-3.5.1.min.js:2) at

我在jQuery1.10中使用Bootstrap3。升级到jQuery3.5.1之后,我在ChromeDeveloperTools中看到了这个错误,当点击一个引导下拉菜单项时。有没有办法让菜单与新版本的jQuery和Bootstrap3一起工作

jquery-3.5.1.min.js:2 
Uncaught Error: Syntax error, unrecognized expression: #
at Function.se.error (jquery-3.5.1.min.js:2)
at se.tokenize (jquery-3.5.1.min.js:2)
at se.select (jquery-3.5.1.min.js:2)
at Function.se [as find] (jquery-3.5.1.min.js:2)
at S.fn.init.find (jquery-3.5.1.min.js:2)
at new S.fn.init (jquery-3.5.1.min.js:2)
at S (jquery-3.5.1.min.js:2)
at getParent (bootstrap.js:783)
at HTMLAnchorElement.Dropdown.toggle (bootstrap.js:708)
at HTMLDocument.dispatch (jquery-3.5.1.min.js:2)

<div>
 <ul class="nav nav-tabs">
 <li class="dropdown">
   <a href="#" id="myTabDrop1" class="dropdown-toggle" data-toggle="dropdown">Reports <b 
   class="caret"></b></a>
   <ul class="dropdown-menu" role="menu" aria-labelledby="myTabDrop1">
      <li><a href="AppealsReport.aspx">Appeals Report</a></li>
      <li><a href="Reports.aspx">Servicer Files</a></li>
      <li><a href="ProductivityReport.aspx">LA Productivity</a></li>                   
   </ul>
   </li>    
   </ul>
   </div>
jquery-3.5.1.min.js:2
未捕获错误:语法错误,无法识别的表达式:#
at Function.se.error(jquery-3.5.1.min.js:2)
在se.tokenize(jquery-3.5.1.min.js:2)
在se.select(jquery-3.5.1.min.js:2)
在Function.se[as find](jquery-3.5.1.min.js:2)
在S.fn.init.find(jquery-3.5.1.min.js:2)
在新的S.fn.init中(jquery-3.5.1.min.js:2)
在S(jquery-3.5.1.min.js:2)
在getParent(bootstrap.js:783)
在htmlanchorement.Dropdown.toggle(bootstrap.js:708)
在HTMLDocument.dispatch(jquery-3.5.1.min.js:2)

您好,它在这里使用的是jquery 3.5.1和bootstrap 3.4.1。非常好,谢谢。不过我也需要更新我的引导文件。