【发布时间】:2021-06-20 21:23:42
【问题描述】:
<div id="share"></div>
我不知道为什么它显示 Uncaught TypeError: $(...).jsSocials is not a function for this code 是正确的 已经添加了 jQuery 和其他文件
<script>
$("#share").jsSocials({
shares: [
"email",
"twitter",
"facebook",
"googleplus",
"linkedin",
"pinterest",
"stumbleupon",
"whatsapp",
],
});
</script>
我已经安装了jQuery。
【问题讨论】:
-
Uncaught ReferenceError或Uncaught Error?您帖子中的信息令人困惑,请更新更多详细信息,如果可能,请提供代码 sn-p。
标签: javascript share