javascript - Two pages, one jQuery script, error on one site -
javascript - Two pages, one jQuery script, error on one site -
i have been stuck on problem while now. have developing environment, i've added lazy load script rather big file developed site external party. works on pages 1 - on site lot of functions aren't defined, , puzzled @ least.
one of working pages is: (site removed due local developing environment)
the page error in console is: (site removed due local developing environment)
the file jquery.main.js thing has happened we've upgraded 1.8.3 1.11.0 jquery - since works on other sites, surprised if problem.
any help appreciated.
you have 2 jquery.min
(v 1.10 , 1.11) files loaded in page, remove oldest. 1 more tip, load scripts in bottom of page avoid headcaches.
update: here jquery files:
in top: <script type="text/javascript" src="(site removed due local developing environment)/jquery-1.11.0.min.js"></script>
in bottom: <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
javascript jquery magento
Comments
Post a Comment