uncaught type error assistance
Hi,
I'm working on embedding a widget and i'm getting this error:
Uncaught TypeError: jQuery(...).genivitycalc is not a function at HTMLAnchorElement.onclick.
This is what it's referencing:
- <a id=”gc-genivity-button” class=”gc-ret-health-gray” onclick=”$(‘body’).genivitycalc(‘init’)”></a>
I tried replacing the $('body') with jQuery('body') but that did not work.
This is what i'm working with:
I assume its related to already using $ in our site for jQuery instead of 'jQuery'. How can I fix this correctly?
Thanks,
Ryan.