Home » jQuery » jQuery – The Man, The Myth, The Legend

jQuery – The Man, The Myth, The Legend

imageI admit it.  I’ve been ignoring jQuery for quite a while.  But I have a tendency to do that with most new things.  I generally don’t work with beta software and I wait for critical mass to develop before jumping on new technology.  Otherwise, I’d end up spending all of my time trying new stuff and never using 80% of it.

It is my opinion that jQuery has finally hit critical mass.  Aside from the fact that my instincts are telling me this, there is also the fact that both Microsoft and Nokia have committed to including jQuery in their products.

And while I don’t care much about what Nokia is doing, I’m quite interested in the fact that Microsoft is interested in jQuery.  Now that I’m looking at it, I see what all the fuss is about.

If you’ve ever worked with JavaScript before, you know that getting your javascript to work across the various browsers is a royal pain in the butt.  The fact that you can’t create a tooltip without having to have a cross platform library to position the tooltip window on the screen is a major testament to this.  Can’t someone create an industry standard way of programming with javascript on the browsers so that I can just concentrate on getting the job done?

They have–it’s called jQuery.

If this was all it did, it probably wouldn’t be getting that much attention.  But here’s another problem jQuery solves.

Have you noticed that with every new technology, there is a new syntax we need to learn to get the job done?  Currently, a web page uses the following technologies:

  • CSS
  • JavaScript

and each of those have their own syntax.  Not to mention that we also use the XML syntax of XPATH and the Regular Expression syntax to help us with other tasks we need to do.

What if our JavaScript incorporated the syntax of the other technologies we already know?  Wouldn’t that make your programming life a little easier?

They have–it’s called jQuery.

We keep talking about separation of responsibility, but when it comes to JavaScript we always seem to end up embedding much of our JavaScript into our HTML.  Yes, we could attach events to elements programmatically but you and I both know that this hardly ever gets done because it isn’t easy and isn’t reliable across the various browsers.

What if someone created a standard way of wiring functions to events that allowed us to keep the JavaScript out of the HTML and made it easy to wire those events?  Would you be interested?  Well….

They have–it’s called jQuery.

What if you could access elements using their ID, their class name, or the element name?  What if you could act on the results of all the elements you retrieved at once instead of using a foreach loop or for/next loop?

You can–it’s called jQuery.

What if you could use XPATH statements or Regular Expressions to find elements on the page and act on them?

You can–it’s called jQuery.

What if you could programatically control the look and feel of your web page, and could apply CSS after the fact?  What if it also helped you with your AJAX programming?

You guessed it.  You can–it’s called jQuery.

As with most great technologies, once I discovered jQuery, I wished I had learned it sooner.

So stick around.  If you haven’t already subscribed to my RSS feed, do it now so you can be alerted any time I write about jQuery.


Other places talking about jQuery

  • jQuery, AJAX, and Classic ASP – While there was a good size buzz about jQuery before Scott Guthrie announced that jQuery will be shipping with Visual Studio, I have seen even more buzz with people wanting to learn more about it. I have seen a huge number of new posts …
  • Password strength validation with jQuery – The jQuery Password Strength Meter is a great free plugin that provides realtime client side evaluation of your password, providing visual indication regarding the strength of the password. This article covers setting up, …
  • jQuery and Microsoft – A big part of the appeal of jQuery is that it allows you to elegantly (and efficiently) find and manipulate HTML elements with minimum lines of code. jQuery supports this via a nice “selector” API that allows developers to query for …


Other post in jQuery

Like this Article? Subscribe to get every article sent to your email.

Related Post

  • jQuery Looks like XPathjQuery Looks like XPath So far in our examination of jQuery we've seen how to select an ID, select a set of elements by tag name and select a set of elements by their class.  But what if we wanted to select a […]
  • Unique BODY tags per pageUnique BODY tags per page Last week I talked about a situation where the previous programmer had placed the body tag inside the ContentPlaceholder in order to allow for a different body tag on the page. Since […]
  • jQuery Expand/Collapse Using Head TagsjQuery Expand/Collapse Using Head Tags I’ve spent a good chunk of the last two days working on an interesting project for one of my clients that I think the rest of the jQuery community could benefit from. The task started […]
  • jQuery – class manipulationjQuery – class manipulation So, now that we've fully exhausted the topic of how to select elements using jQuery, what can we do with it?Well, one thing we can do is use the two built-in methods, addClass and […]
  • WebForms vs MVC–The War Is OverWebForms vs MVC–The War Is Over loading... I just finished listening to a DotNetRocks podcast today with Paul Sheriff which largely talked about creating mobile web sites using ASP.NET WebForms. During the show they […]

About Dave Bush

Dave Bush is a Full Stack ASP.NET developer. His commitment to quality through test driven development, vast knowledge of C#, HTML, CSS and JavaScript as well as his ability to mentor younger programmers and his passion for Agile/Scrum as defined by the Agile Manifesto and the Scrum Alliance will certainly be an asset to your organization.

2 Pingbacks/Trackbacks

  • Pingback: Dew Drop - October 9, 2008 | Alvin Ashcraft's Morning Dew()

  • http://netsuo.ch netsuo

    I’m using jQuery since one of the first releases and I have to say it’s a wonderful piece of code. I can’t even imagine doing any type of site without it !
    jQuery makes coding javascript something like an amusement !

  • Pete

    I’m afraid Microsoft’s sudden interest in jQuery will do more harm than good. We’ll see how Microsoft implements the “extend” portion of its “embrace”.

  • http://jeff.viapositiva.net Jeff Eaton

    I’ve been working with the open source Drupal web CMS for about four years now, and the frustrations you mention were what kept Javascript out of its codebase for years. When we adopted jQuery as Drupal’s official JS library, it was like turning the lights on in a dark room. Obviously, bad code is still possible. But its approach makes doing things the right way so much easier…

  • http://www.webascender.com/ DotNetNuke Consultant

    Have been using JQuery for over a year, excellent framework and I’m excited to hear that Microsoft is integrating it. It’s just so easy, we also use YUI for some components as well.


  • Pingback: 2008 October 10 - Links for today « My (almost) Daily Links()

  • http://www.fewmorecents.com Chirag Pinjar

    extjs is worth taking a look at.