gsgx
gsgx

Reputation: 12239

JQuery not working on site or locally but works in jsfiddle

JQuery is not running on my site or locally. Here is my site: http://michigangurudwara.com/pclass/

I'm simply testing out JQuery by trying out the show/hide functions. When you hover over "Test", more text should drop down underneath it. Here is what I'm trying to accomplish: http://jsfiddle.net/nGY6K/2/

Anyone know why it's not working?

Upvotes: 0

Views: 190

Answers (2)

Amadan
Amadan

Reputation: 198314

<link langauge="javascript" type="text/javascript" href="jquery.js" />

This is not the way to load scripts.

<script type="text/javascript" src="jquery.js"></script>

This is the way to load scripts. (edited to make it more sensible)

Upvotes: 3

Joseph Silber
Joseph Silber

Reputation: 219920

You are not linking to jQuery correctly.

Change this:

<link langauge="javascript" type="text/javascript" href="jquery.js" />

to this:

<script language="javascript" type="text/javascript" src="jquery.js"></script>

Upvotes: 3

Related Questions