PDA

View Full Version : How do I install jQuery?


Villyz
03-20-2009, 05:42 PM
How do I install jQuery?

UKBusinessLive
03-20-2009, 05:54 PM
How do I install jQuery?

JQuery what?? All JQuery is a simplified version of javascript, So it would depend what JQueary code you wanted to add ;)

http://docs.jquery.com/Tutorials:How_jQuery_Works

That tutorial helps too

Villyz
03-20-2009, 05:58 PM
I just wanted to install the version "jquery-1.2.6.min"

UKBusinessLive
03-20-2009, 06:03 PM
I just wanted to install the version "jquery-1.2.6.min"

Does it not come with instructions??

Where ever it is you are getting that file it should tell you how to use it, otherwise it can be dangerous to install/Upload files you don't know anything about, Especially Javascript type files, What are you hoping to acheive, by installing this????

:confused:

Villyz
03-20-2009, 06:18 PM
Does it not come with instructions??

Where ever it is you are getting that file it should tell you how to use it, otherwise it can be dangerous to install/Upload files you don't know anything about, Especially Javascript type files, What are you hoping to acheive, by installing this????

:confused:

It's just something for my header that I coded, I found out I needed to install jQuery for it to work...

Regs
03-20-2009, 06:31 PM
Just upload the jquery-1.2.6.min file to your server and then reference it in your headinclude template, i.e.,

<script type="text/javascript" src="/path_to_script/jquery-1.2.6.min"></script>

Lynne
03-20-2009, 06:33 PM
jquery-1.2.6.min.js is just a file you upload to your server. It's included in one of the modifications I downloaded and all I did was upload it into the appropriate folder that the install instructions said to install it in.

1Unreal
05-09-2009, 06:51 PM
Nobody actually answered this question so I thought I would post just incase anyone else needed to know.

Just put this code somewhere between the <head>tags.

<script src="http://code.jquery.com/jquery-latest.js"></script>

Also, make sure that you put any jQuery code after this bit

ragtek
05-10-2009, 04:39 PM
Anybody checked if its a better performance to get the jquery file from google or from jquery?