JQuery not working

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
forumforme123
Forum Newbie
Posts: 1
Joined: Tue Nov 03, 2009 8:24 pm

JQuery not working

Post by forumforme123 »

Hi,

I have a newbie question, if anyone can help.

I can't seem to get my installed JQuery (the .js script) to work.
My written JQuery script only works when I source it from http://ajax.googleapis.com/ajax/libs/jq ... ery.min.js.

In simple words:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jq ... ery.min.js"> == WORKS!

<script type="text/javascript" src="jquery-1.3.2.js"> == NOT WORKING!!

Anyone have any idea why?

Many thanks.
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Re: JQuery not working

Post by pickle »

Looks like a path problem. The way you've got your code set up, the jQuery JS file needs to be in the same directory as your html file.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Post Reply