在同一个页面需要同时使用motools和jquery,对于$,发生了冲突,以下是解决的办法。

<head>
    <script src="./Scripts/lib/jquery-1.4.2.js" type="text/javascript"></script>
    <script type="text/javascript">jQuery.noConflict();</script>
    <script src="./Scripts/lib/mootools-1.2.5-core-nc.js" type="text/javascript"></script> 
</head>

相关文章:

  • 2022-03-01
  • 2022-12-23
  • 2021-08-29
  • 2022-12-23
  • 2022-01-16
  • 2021-09-21
猜你喜欢
  • 2021-09-20
  • 2021-06-24
  • 2021-08-20
  • 2022-12-23
  • 2022-01-07
相关资源
相似解决方案