Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/71.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 如何从我自己的插件调用自定义jquery插件的方法?_Javascript_Jquery_Jquery Plugins - Fatal编程技术网

Javascript 如何从我自己的插件调用自定义jquery插件的方法?

Javascript 如何从我自己的插件调用自定义jquery插件的方法?,javascript,jquery,jquery-plugins,Javascript,Jquery,Jquery Plugins,我刚刚创建了自己的插件,我正试图从中调用另一个插件函数。因此,我的代码中包含: <script src='jquery.js'> <script src='some_other_plugin.js'> <script src='my_plugin.js'> 所以在我的插件中,我试图通过$jQuery对象调用一些其他插件函数-它说没有这样的函数。。。如何包含该插件,以便我的插件可以看到它?我修复了该问题。我想调用的插件中有语法错误…您能多发布一些代码吗?具

我刚刚创建了自己的插件,我正试图从中调用另一个插件函数。因此,我的代码中包含:

<script src='jquery.js'>
<script src='some_other_plugin.js'>
<script src='my_plugin.js'>


所以在我的插件中,我试图通过$jQuery对象调用一些其他插件函数-它说没有这样的函数。。。如何包含该插件,以便我的插件可以看到它?

我修复了该问题。我想调用的插件中有语法错误…

您能多发布一些代码吗?具体来说,你能说一下你使用的是什么插件,并给我们一些不起作用的代码吗?