Coding with Jesse

jQuery tutorial on

April 11st, 2007

I wrote a jQuery tutorial which was just put live on IBM DeveloperWorks today: Simplify Ajax development with jQuery.

I discuss a lot of the core functionality and philosophy of jQuery, including an introduction to writing plugins. So if you've heard of jQuery but haven't really decided if you want to use it, or if you've started to use it and want to see what it's capable of, I think you might enjoy the article.


1 . nitinpai on April 11st, 2007


Hi Jesse,
Congrats on getting your article live in the IBM space. I have been reading your blog since a long time now. I loved the article on JQuery and I intend to use JQuery since through your explanation I am finding it more easier than DOJO.

Are you a full time blogger? I wonder how do you manage to write so much good content and at the same time constantly learn new things. Can you tell me something for this since I find it somewhat difficult managing my work and blogging schedules.


2 . Darlene Tate on April 11st, 2007

Darlene Tate

Hi Jesse,

Congrats on getting your tutorial on IBM! Can you send me the a link to where it is? I'd like to link to it from my website. My website contains links to learning resources, tutorials, free online classes, etc. for beginning web professionals. Thanks and keep up the good work.


3 . Emil Stenström on April 11st, 2007

Emil Stenström

Just a quick note, the above comment from "Darlene Tate" is spam, I got the same comment but with one or two words different.

Congratulations on the IBM tutorial, I'm using jQuery in a project right now so you're right on time!

4 . Darlene Tate on April 16th, 2007

Darlene Tate

Hello Jesse,

Regarding Emil's comment that my note is spam. I don't know why he is saying this. I have never emailed him and I would never send spam to anyone! I merely wanted to put your link on my website because I want my website to provide beginning web developers/designers with free resources. I honestly don't know what he is talking about. Take care.


5 . awflasher on April 18th, 2007


I love jQuery's philosophy very very much :)

Good stuff~

6 . Jason Barnabe on April 26th, 2007

Jason Barnabe

It's fairly easy to make something look incredible by avoiding the things that are not so incredible. What are some problems you experienced using jQuery?

From the examples you give, it appears that jQuery trades readability for brevity. For example, the code in listing 1:

$('#external_links a').click(function() {
return confirm('You are going to visit: ' + this.href);

To someone without knowledge of jQuery, the "$" and "click" functions don't act as their name suggests; "$" suggests nothing and "click" suggests that the click event handler will be fired rather than defined. In my opinion, if the "$" were renamed "select" and the click function became a click property, it would be made more clear and only slightly less brief.

select('#external_links a').click = function() {
return confirm('You are going to visit: ' + this.href);

7 . Mei on May 17th, 2007


Great tutorial.

I've been reading a lot lately trying to learn JS and jQuery, and this is one of the best.

I read somewhere that jQuery is rather 'lightweight' when it comes to Ajax etc. What do you think? Is it up there with Prototype et al?

8 . Jesse Skinner on May 17th, 2007

Jesse Skinner

@Mei - Well, if by lightweight you mean lacking in features, then I'll have to say no. jQuery is designed to do the basics extremely well, but also makes it easy to add plugins. This way, if you want to do some extreme animations and interfaces, you can get the Interface plugin for jQuery:

Likewise, if there's something else you want to do with jQuery, chances are you can find a plugin for it:

and if not, you could always write one yourself :)

9 . Mei on May 21st, 2007


Thanks for the answer!

10 . Jeremy Martin on February 7th, 2008

Jeremy Martin

Awesome article - very informative. I think that (arguably) jQuery's best feature is its extensibility. The ease of plugin creation was surprising to me.

I actually just finished creating my first plugin and made a little tutorial out of it ( You seem to have a solid grasp on the matter and I'd love to hear any feedback on it.

11 . on April 8th, 2009

This idea is not new for internet society, but it also have it's own place. If it will be developed in future with some new features - very good. I'm an old user of internet in I want a good sites and blogs. Good luck

Comments are closed, but I'd still love to hear your thoughts.