The order of your javascripts maybe? "jquery.cycle2.min.js" should be included before "jquery.cycle2.carousel.min.js".
TypeError: e.fn.cycle is undefined - Jquery cycle 2
-
03-06-2022 - |
Question
Get this console error when trying to implement JQuery Cycle2:
TypeError: e.fn.cycle is undefined
<script type="text/javascript" src="jQuery1.7.1.js"></script>
<script type="text/javascript" src="margaretha/js/jquery.cycle2.carousel.min.js"></script>
<script type="text/javascript" src="margaretha/js/jquery.cycle2.min.js"></script>
What could be wrong here?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow