diTii.com Digital News Hub

Sign up with your email address to be the first to know about latest news and more.

I agree to have my personal information transfered to MailChimp (more information)

May032006

Event Selector Showdown : the jQuery Challenge

John posted an interesting challenge : Find all the LI elements underneath two different elements (using their #ID as reference) and bind a click handler which changes the color of the LI’s text. Here is how you would do that in all of the popular event/selector libraries. Comparing Behaviour + Prototype, Prototype 1.5.0, event:Selectors and jQuery; the result is amazing :

Behaviour + Prototype

Prototype 1.5.0

event:Selectors

jQuery


Share This Story, Choose Your Platform!

Get Latest News

Subscribe to Digital News Hub

Get our daily newsletter about the latest news in the industry.
First Name
Last Name
Email address
Secure and Spam free...