我正在尝试在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不是函数