多个jquery冲突

< script type = " text/javascript "  src = "jquery1.8.3 .js " >< / script>
< script type = " text/javascript "  src = " jquery.js " >< / script>

< script type = " text/javascript " >
  $.noConflict();
  jQuery(document).ready(
function ($) {
    
//  使用 jQuery $ 的代码
  });
  
//  使用其他库的 $ 的代码
< / script>

猜你喜欢

转载自blog.csdn.net/yingying0708/article/details/49783617