jQuery

The great thing about JQuery is the way it makes accessing elements of the DOM extremely easy. Keeping with that, JQuery has some really nifty expressions built into it that means it even easier. For instance:

jQuery provides some very powerful selection expressions using colon (:) syntax. Things like :first, :odd, and :even let you write code like: $('#content a:first') to get the first anchor within #content, or $('tr:odd') to get the odd numbered rows of a table.

In my short time as a Drupal developer, one specific issue had caused me much grief and lost time to find workarounds, and judging from Google search results and stories heard from our more experienced members of Jaxara, I was not alone. The issue is none other then the almost pre-historic (in technology time atleast) version of jQuery used by Drupal 6 (1.2.6).

Subscribe to RSS - jQuery