Go Back   CodingForums.com > :: Client side development > JavaScript programming > JavaScript frameworks

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-02-2009, 08:09 PM   PM User | #1
jmm0321
New to the CF scene

 
Join Date: Feb 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
jmm0321 is an unknown quantity at this point
Jquery question

Ok, so I'm a web design student and recently started learning javascript. My knowledge is intermediate at best.

I recently went to jquery and found an accordion box that I wanted to use in my website's gallery section (www.designinginthedark.com

When I go to download the Jquery-1.3.1.js file i get the uncompressed version, and it downloads as Jquery-1.3.1.js.txt The txt (i'm assuming) is so it loads properly in notepad. However when I save the file with just the .js and attempt to upload it to my server, it wont let me because it says that it's not a valid file type. It says that a "." can only be used at the end of the file name, so it's not recognizing the file type. What should I do?
jmm0321 is offline   Reply With Quote
Old 03-02-2009, 08:41 PM   PM User | #2
Eldarrion
Regular Coder

 
Join Date: Feb 2009
Location: Wheeling, IL
Posts: 358
Thanks: 5
Thanked 62 Times in 60 Posts
Eldarrion is on a distinguished road
This is not really a question pertaining to jQuery itself, but either way... try renaming the file to jquery.js and uploading it that way. I would also suggest redirecting your question to a forum that does pertain to FTP and web servers, rather than a coding section.
Eldarrion is offline   Reply With Quote
Old 03-11-2009, 05:31 PM   PM User | #3
MarkAt2
New to the CF scene

 
Join Date: Mar 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
MarkAt2 is an unknown quantity at this point
I'd recommend linking to jQuery hosted on Google's CDN; it will be way faster for your users and no bandwidth cost to you.
Plus, much of the time, it will already be cached on the user's machine as it's shared by many sites.

For instance if you View-Source on my site how to hold a party you'll see the reference to:

http://ajax.googleapis.com/ajax/libs.../jquery.min.js
MarkAt2 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:51 AM.


Advertisement
Log in to turn off these ads.