网页中同时导入2种js库,并且加上了 var jquery = $.noConflict(true);但是页面中报错了
chrome控制台报错了: Uncaught TypeError: undefined is not a function说的是($('searchbar_3949')); 这个闭包调用函数
Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
你获取id是不是少了个#号?