Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
大家好,我对 JQPLOT 和 JQRangerSlider 有疑问。当我尝试在一个页面中同时使用它们时。其中之一不起作用。
哪个文件我包含以后的作品和更早的文件都不起作用..如果我在 JQRange Slider 之后包含 JQPLOt 的文件,则只有 JQPLOT 作品。
你可以使用 jQuery.noConflict(); 因为这可能是一个插件在 1.4.x 版本中运行而另一个在 1.5.x 版本中运行的情况。例子:-
var j = jQuery.noConflict(); then replace the function($){} in your plugin file with function(j){}