Everything Photoshop Subscribe

15 Resources To Get You Started With jQuery From Scratch

In Articles, Javascript / AJAX by Jeffrey Way

Maybe you're a seasoned jQuery pro. Heck, maybe you're John Resig. On the other hand, maybe you read words like "Prototype", "jQuery", and "Mootools" and think to yourself, "What the heck are these?" Now is the time to learn.

In this industry - now more than ever - designers are becoming coders, and coders are becoming designers. The idea of a developer ONLY performing frontend or backend work is quickly becoming a dated concept. jQuery will help to bridge the gap. Javascript is not an unattainable skill. In this article, we'll detail fifteen resources to get you started with jQuery from the absolute beginning. If you've been avoiding this library out of some silly sense of fear, now is the time to dive in. You'll be amazed at how simple it can be.

What Exactly Is jQuery?

According to jQuery.com, jQuery is a fast, concise, JavaScript library that simplifies how you traverse HTML documents, handle events, perform animations, and add Ajax interactions to your web pages. jQuery is designed to change the way that you write JavaScript.

In simpler terms, jQuery allows you to turn ten lines of traditional Javascript code into two! Combine an enormous range of features with cross-platform compatibility and you have one robust framework. Before you know it, you'll be creating everything from rich forms to Flash-like menus. Don't worry if the task of learning yet another new framework seems daunting. These resources will take you step by step.

Why Would I Use This Library Over The Others?

Ultimately, it comes down to preference. Each framework has its own specific advantages. But, there is a reason why jQuery is the most popular framework available.

Cross-Browser Compatibility. With any Javascript implementation, a web developer can expect to spend a large portion of his or her time compensating for each browser's quirks. Luckily, the jQuery library neutralizes these browser inconsistencies, thus allowing developers more time to work on their code.

CSS Selectors. By utilizing the CSS syntax, developers can use their existing knowledge to traverse their documents. With the addition of many CSS 3 and XPATH selectors, jQuery provides you with a wonderful mechanism for manipulating the elements on your page.

Chaining. jQuery uses a pattern called "chaining" for its methods. Every time you run a method on a jQuery object, the method returns that very same jQuery object. Consequently, you won't have to retype your selectors for each method. Using such a ".NET" type of functionality allows for lower file sizes and greater code readability.

If you're intrigued, you should be! Let's get started.

Step 1: Download The Library

The first step on your journey will be to download the library. Visit jQuery.com and scroll down to the "Download jQuery" section. Choosing one of the listed links will download the library to your computer. Next, you'll need to import the .js file into your solution.

Recommended Reading

  • Introduction To jQuery

    CSS-Tricks.com : Introduction To jQuery

    In his jQuery screencast, Chris Coyier, over at CSS-Tricks, will give you a basic introduction to including jQuery on your web page and writing a few functions.

    Visit Article

  • jQuery Crash Course

    Digital-Web.com : jQuery: A Crash Course

    Here’s a crash course in jQuery written with code-savvy web designers in mind.

    Visit Article

  • jQuery Crash Course

    Slideshare.net : "Learning jQuery In 30 Minutes"

    If you enjoy slideshows, this tutorial will teach you the fundamentals of jQuery in thirty minutes.

    Visit Article

Step 2: Create Your First Function

Within five minutes of learning jQuery, you'll be creating functions. Your first stop should be John Resig's introductory article, "How jQuery Works". He'll show you many easy to understand methods that you can use in your web applications - including adding and removing classes, chaining, and calling the "document.ready" method.

Recommended Reading

  • How jquery Works

    jQuery.com : "How jQuery Works"

    In his introductory article, John Resig - the creator of jQuery - will take you from the basics to creating animations. This is an essential read if you're just getting started.

    Visit Article

  • 15 Days Of jQuery : Day 1

    FifteenDaysOfJquery.com : Day 1

    In a brave attempt to cover many of jQuery's features in two weeks, "15 Days Of jQuery" goes over one topic per day. In this specific article, you'll learn how to use the "document.ready()" method.

    Visit Article

  • Visual jQuery : Your jQuery Dictionary

    VisualJquery.com : "Your jQuery Dictionary"

    Think of VisualjQuery.com as your digital dictionary. It will show you the syntax and definition for every jQuery method available. Keep this site bookmarked.

    Visit Article

Step 3: Animate Your Elements

This is a controversial topic for many developers. In group number one, there are people who insist on "zero animation". Give the users what they need as fast as possible, and let them be on their way. Don't treat them as if they're chipmunks searching for the next shiny toy. But, there are people in group number two as well. They look at a site, which has some tastefully implemented animation, as a site worthy of their user base. When used correctly, they believe that animation can greatly improve usability. You'll have to decide for yourself which one you are. Never-the-less, jQuery makes animating elements on your page as easy a task as it can possibly be.

Recommended Reading

  • jQuery.com : Animations

    jQuery.com : "Animations"

    This should be your first stop when learning about jQuery's animation abilities. It will detail the parameters needed when using this method.

    Visit Article

  • Detached Designs : Learning About The Animation Abilities Of jQuery

    Detached Designs : Learning About The Animation Abilities Of jQuery

    Are you a complete novice when it comes to animation? This tutorial will assume that you have no knowledge. Topics covered are increasing and decreasing text, moving elements, chaining animations, and more.

    Visit Article

  • Web Designer Wall

    Web Designer Wall : jQuery Tutorials For Designers

    Still confused about jQuery's power? This site will list ten examples ranging from menus to image replacements.

    Visit Article

Step 4: Plugins

The wonderful thing about jQuery is that, when being initially developed, John Resig and his team ensured that expanding its functionality through the use of plugins could be accomplish with only a few additional lines of code. You'll be writing custom methods in no time! By keeping these plugins separate from the main library (only 16kb, by the way), we can then implement specific plugins only when necessary. As a result, this will allow the size of your javascript files to remain as small as possible.

Recommended Reading

  • jQuery Corner Gallery

    jQuery Corner Gallery

    Looking for a way to easily add rounded corners to your elements? With corners ranging from rounded to dog-eared, this plugin may find a permament spot in your "toolbox".

    Visit Article

  • Enhance The User Experience : 10 Useful jQuery Plugins

    Enhance The User Experience : 10 Useful jQuery Plugins

    In this article, James Padolsey details his top ten favorite plugins.

    Visit Article

  • jQuery.com : Plugins

    jQuery.com : "Plugins"

    As always, jQuery.com proves to be a valuable resource. This article will give you step by step instructions when it comes to creating your first plugin.

    Visit Article

Step 5: Implementing AJAX Functionality

Feeling confident with your jQuery skills yet? Are you ready to take things to the next level? Why not begin implementing some Ajax functionality into your scripts? Through the use of the "load()" and ".get()" methods, jQuery makes it extremely easy to load data. The following resources will be vital for your education.

Recommended Reading

  • Sitepoint.com : Easy AJAX With jQuery

    Sitepoint.com : Easy AJAX With jQuery

    In his article for Sitepoint, Akash Mehta will show you how to simplify the process of adding Ajax to your applications with the help of jQuery.

    Visit Article

  • jQuery For Designers: Using AJAX To Validate Forms

    jQuery For Designers: Using AJAX To Validate Forms

    Remy will show us how we can use AJAX, along with the jQuery library, to add some server-side validation to our forms.

    Visit Article

  • Nettuts.com : How To Load In And Animate Content With jQuery

    Nettuts.com : How To Load In And Animate Content With jQuery

    Always remember to browse NETTUTs "Javascript" category when searching for jQuery tutorials. In this tutorial, we'll show you how you can load and animate data using jQuery.

    Visit Article

Enjoyed this post? Your vote is always appreciated!! Delicious StumbleUpon Float Digg

Comments

Leave a Comment
  1. Nice article again from nettuts. I love jQuery.

  2. Nice tutorial, makes me want to learn jQuery, and I might just try.

  3. In regards to “Why Would I Use This Library Over The Others?”- that seems really unfair, Mootools does all that (with the exception of really advanced CSS selectors, although it should be noted that mootools is the fastest framework as far as CSS selectors go).

    People like to ignore Mootools (and other frameworks)- jQuery is great, but Mootools is overlooked too often.

  4. jQuery is definitely the best Javascript library. I switched over from Script.aculo.us and am really impressed. CSS selectors, chainability, and intuitive syntax make it pretty dang easy to use.

    I also recently implemented the AJAX functionality you talked about in the last article you mentioned.

    Great post!

  5. Great Article. You did a great job describing what jQuery is.
    Thanks!

  6. I was looking for something like this since first tutorials with jquery popped in here

    Thanks a lot!

  7. If you are patient, I suggest this video from Google Tech Talks: http://www.youtube.com/watch?v=8mwKq7_JlS8
    The speaker is a 12 years old kid, but trust me, he’s really good explaining what’s jQuery about! I started after listening him.
    Trial, error, and a lot of help from internet!
    Good luck for those who are starting with this :)

  8. Thnx a lot.I want to learn one of these frameworks but i got silly sense of fear like u said..Now im ready to study..

    Thnx again..

  9. This is exactly what I’m going to need…. I’ve been into site for years now, but I’ve only started working in a company and I’m desperatly lacking these JS skills….

    THANKS!

  10. Great introductions, thanks :)

  11. Great article. Im gonna dig it ;-)

  12. EXCELLENT - I’, just a beginner - neither a good designer nor a good coder - I have enjoyed using jquery and this guide will be an excellent resource - thank you
    Chris Loft
    Adelaide, sunny South Australia

  13. Great list, I transformed from Novice to Competent in about 3 hours.

  14. Wondered how long it’d be before we saw another jQuery post :)

    I’ve been using it for a while now, and have found that I’ve lost weight, been able to swim faster and do some amazing stuff with JavaScript. OK, only one of those, but hey, it sure makes me happy.

    As I’ve become more proficient I’ve found that writing my own plugins has really helped to harness the full power of jQuery.

    Thanks for posting.

  15. Having just started out learning jQuery this is a very useful roundup!
    Now heading off to surf the sites I hadn’t come across before…

  16. thank you wery much

  17. This is the time to start with jQuery.
    Thank you for sharing!

  18. awesome article, i love the resources

  19. thank you for this introduction to jQuery it was very helpfull

  20. You left out one of the best resources out there, Karl Swedberg’s Learning jQuery:
    http://www.learningjquery.com

    Also, his (and Jonathan Chaffer’s) book of the same name is required Summer Reading.

  21. Very cool, I want to start getting my feet wet with some jQuery. I just need to find time to learn it :) Maybe the fifteenDaysOfJquery.com will help, just take my time.

  22. Thanks for this awesome list. I want to learn jQuery and I think this is very useful.

  23. Aren’t you missing the most obvious site out there? learningjquery.com is quite valuable for those learning the library.

  24. Yea I really think jQuery is the mother of all frameworks, its versatile, powerful, and doesn’t have a major learning curve. Ive had the unfortunate experience of building something out in a different frame work only to find that a new functionality I wanted to do was basically impossible without a doctorate degree in java mumbo jumbo.

  25. Thanks for the great list, I have been wanting to learn jQuery for a while but had no idea where to start, so this list can really help.

    Simon
    help-developer.com

  26. Nice! Thank you so much for posting this roundup. I’m about to jump head first into this.

    Keep up the good work Eden!

  27. Wonderfull article. Really helpfull

  28. ‘The idea of a developer ONLY performing frontend or backend work is quickly becoming a dated concept.’

    I’d agree with that, though I’ve escaped quite a lot of development so far - useful to have a business partner who develops!

  29. Gravatar

    Lakeshia Burnside

    I was really looking for something like this thanks so MUCH!!!
    I’ve experimented with Mootools but i think Jquery is alot easier.

  30. Gravatar

    Smukkekim

    Remy Sharp has an adapted version of Visual JQuery on his site:

    http://remysharp.com/visual-jquery/

    It has two advantages - its for a newer version of JQuery and Remy has (at least in my opinion) a much more accesible division of topics.

  31. Nice ressources, thanks for putting it all together.

    As for the Plugin part of your article, I found this article particulary enlighting :

    http://www.learningjquery.com/2007/10/a-plugin-development-pattern

    Hope that helps. Kudos again for the nice article.

  32. Great post! I was hoping to find a list like this here :)

  33. It seems like a lot of people are now learning jQuery, me being one of them! This post has helped me understand some of the basics, and I’ll definitily be referring back!

    Thanks!

  34. The resources of jquery seem endless! That’s fantastic!

  35. The thing about jQuery is… it’s not just easy to use - it’s incredibly intuitive. So if I want to hide an element, the function to call is hide(). If I want to fade an element in, I call fadeIn(). If I want to focus an input field, what do I call? That’s right, focus(). Another great thing is how easy it is to get and set elements in a page. So if I have an input field with id “phone-number” I just call up $(’#phone-number’).val(); and that gets the value for me! If I want to set that value to something I just use $(’#phone-number’).val(’555-5555′);. How easy is that?

  36. Thanks, everyone! Let me know if you have any questions and I’ll see if I can help.

  37. Awesome! Can I request the same kind of thing for PHP? Resources to get you started with PHP from scratch.

  38. Great article. Here’s another awesome resource, the book and the blog, Learning jQuery at http://www.learningjquery.com

  39. nice 1

  40. Man…I wish I had a list like this, when I first started learning JQuery!

  41. Does anyone have a link to a good tutorial on the best way to load jquery? Like the fastest method to load the script - it would be good to see a tutorial on here about it too!

    great site

    i used jquery to make a fading header link at http://ripesurfing.com

  42. Great compilation of articles, great work as always

  43. Just so I don’t leave it up to NT to publish something about it, does anyone know of a collection of this like NT has published, but for PHP?

  44. Great links.

  45. Great collection of useful jQuery examples and especially inspiration! Thank you!

  46. Gravatar

    Cristian Gorrino

    Thank you very much, this is great!

  47. This list is amazing. I have just bookmarked it as I plan to learn jQuery next in my lineup of new skills as a web developer as well as a web designer.

  48. gr8 list. Thanx a lot!

  49. nice tut - about to get started on jquery. thanks!

  50. Great resources Jeffrey. Thanks

Add a Comment

Note: We use Gravatars on NETTUTS, they are little icons that appear next to your name on this site and on many others. You can get a Gravatar account for free and any other site that supports it will show your avatar too!

 

Trackbacks

Leave a Trackback