JQuery: "is not a function" error
-
I have only a smattering of javascript, and do not know Jquery, so do not know how to solve what must be an easy problem.
I am using WordPress integrated with another system – TNG (The Next Generation of Genealogy Sitebuilding). On TNG/WordPress pages I am getting an “Uncaught TypeError: undefined is not a function” javascript message on code related to two plugins (Tippy and Wp cycle text announcement). See for example http://www.hcnhistory.org.uk/blank-for-people/relateform.php?primaryID=I11157&tree=hcn
One of the places the error occurs is the third line of:
<script type="text/javascript"> jQuery(document).ready(function() { jQuery('.tippy').tippy({ position: "link", offsetx: 0, offsety: 10, closetext: "X", hidedelay: 700, showdelay: 100, calcpos: "parent", showspeed: 200, hidespeed: 200, showtitle: true, hoverpopup: true, draggable: true, dragheader: true, multitip: false, autoshow: false, showheader: true, showclose: true, htmlentities: false }); }); </script>Exactly the same code appears in plain WordPress pages (e.g. http://www.hcnhistory.org.uk/ ) and I get no error.
One strategy I am adopting is to try to turn off the plugins when in the TNG pages, but I am having a problem doing that. Is there another way of preventing the error happening?
Thanks.
The topic ‘JQuery: "is not a function" error’ is closed to new replies.