« TradeMe new AJAX Watchlist | Main | Yahoo! Tech, a new Tech Experience »

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

Bookmark this article at these sites
Comments
1

As we don't have a AJAXTunisie community, I don't think there's a better place to ask than here :-)

http.open("get", "http://absolute.url.net",true);

I get a permission denied.
How to deal with that?
Thanks.

2

@Swobodin : I never make the same mistake twice :-) but to ask questions you can use the forum. For the permission denied search for ajax cross domain.

3

Well, don't call it "error"; that was a good experience and knowledge sharing; however, members passivity did not contribute to the community success.
Anyway, thanks for the technical term, i am going to google for it.
Cheers!

Post a comment





(Email will remain hidden)





Please enter the security code you see here




Related entries
Email to a friend
Email this article to:


Your email address:


Message (optional):