Topic
  • No replies
SystemAdmin
SystemAdmin
7615 Posts

Pinned topic How to load jquery in 8.0.1

‏2013-02-10T20:43:13Z |
We have some custom coach views that use jquery. In 8.0 we had no problems, we just added the jquery as a server file and we could use it. But in 8.0.1 it sometimes works and somtimes it don't because it complaints that function $() is not a function. This is also the case for other third party JavaScript we use. It happens most often if you refresh the browser to reload the coach than errors are logged in firebug.

I think this has somethingg to do with the AMD feature but have no idea how to resolve it! It lloks like some of the code is now executed before jquery is (fully) loaded.

Kind regards,

Jacob