YUI -> jQuery

I just switched my (rather limited) JavaScript from YUI to jQuery.

jQuery took a little (a couple hours) to learn how to write something close to idiomatic code. My new code is much much smaller and easier to read.

Why did I switch away from YUI you might ask?

A couple reasons:

  1. jQuery has a bunch of idiomatic constructs to make what I’m doing here much easier: Example: $('table tbody tr:even').each(function () {$(this).addClass('alt')});
  2. jQuery is smaller.
  3. I use YUI at work.
  4. I just wanted to try something new.

Ciao!

4 thoughts on “YUI -> jQuery

  1. Rey Bango says:

    Welcome to jQuery. Be sure to join the Google Group and also follow us on Twitter or identi.ca at @jquery

    Rey – jQuery Team

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>