在wordpress中加载jQuery插件

时间:2015-08-31 17:43:48

标签: javascript jquery html wordpress

我正在尝试在Wordpress中运行jQuery插件。我想要有两个完全相同的div。为此我使用this script

这在jsFiddle上效果很好,但在我的wordpress网站上效果不是很好。

<input type="submit" value="Upload File" onclick="this.value='Uploading..';
                google.script.run.withSuccessHandler(fileUploaded)
                .uploadFiles(this.parentNode);
                return false;">

但浏览器显示Uncaught TypeError的错误:无法读取属性&#39; fn&#39;未定义和未捕获的TypeError:$(...)。equalHeights不是函数

0 个答案:

没有答案