Issue in loading popover
vaibhavmandlik opened this issue · 0 comments
vaibhavmandlik commented
Hello,
I'm running into this issue since 3 days but couldn't find solution for this. I'm using popover exactly same as described in docs page. But it is giving an error:
Uncaught ReferenceError: $ is not defined
Where I'm going wrong.
This is my HTML:
<button type="button" class="btn btn-primary" data-toggle="popover" title="Link Copied" data-content="Send your referral link to your friends" data-placement="top" onclick="copy_link(document.getElementById('share_link').innerHTML)">Copy Link</button>
My JS:
$(function () { $('[data-toggle="popover"]').popover() })
I've included the popover.js in <head>
section.
Please help me running out of this.