I have a trouble running jQuery on my local server on my computer. I have mysql and Apache running and working. But i get the error Uncaught ReferenceError: jQuery is not defined when I open the page.
The page works fine when i run it from "the folder" (not with the server) but since I what to be able to use Ajax functions i need to make i work on my local server as well.
You have links to 2 scripts there:
<script src="/js/jquery-1.4.2.min.js" …
<script src="js/colorbox/jquery.colorbox-min.js" …
Notice you have a "/" at the start of the first one, which is your jQuery lib – I would try removing that first and see what happens :)
It didn’t work. But i solved the problem by linking the script from google instead. Have no idea why it didn’t work with the local file. Thanks anyway.
You must be logged in to reply to this topic.
*May or may not contain any actual "CSS" or "Tricks".