03 March, 2015

Jquery - run it on localhost

Sometimes Jquery needs to run on a server. The accordion plugin is a sample. If you run the code directly from a directory, the darn thing does not work. If you run the same code on your localserver it works fine.

Below: Jquery accordion from a file


Below: Jquery from localhost

Ergo: run Jquery scripts on your localhost or on a server.

No comments: