When not logged into EpiServer JavaScript does not seem to run and a "Uncaught Reference Error: $ is not defined" is found in the developer consul but the JavaScript runs fine when logged in.
This is caused by jQuery not being loaded. When logged into EpiServer jQuery is loaded up during the page load as part of the product but when your not logged in EpiServer does not automatically load jQuery. If your code is dependent on jQuery you will need to move your call to load jQuery into the <head></head> are of your page to insure that it is loaded before your JavaScript tries to call into it.
Please sign in to leave a comment.