Friday, May 9, 2014

Wordpress Issue : Uncaught TypeError: undefined is not a function

If you got this kind of issue with Wordpress (CMS)



You better use "jQuery" instead of "$" This is because the jQuery Library included with Wordpress is set to the noConflict() mode, to prevent compatibility problems with other Javascript libraries that wordpress linked.

So the global $ shortcut for jquery is not available.




No comments:

Post a Comment