[jQuery] end(), this bug unknown
Hi all,
recently I have read the slides published by John Resig about his
first Google Tech Talk:
http://ejohn.org/blog/building-a-javascript-library/
In the slide number 50 there is a little example code:
$("div.section")
.find("dt")
.addClass("section")
.onclick()
.next().toogle().end()
.end()
.end()
.find("dd")
.hide()
.filter(":first")
.show()
.end()
.end();
In a first moment, I thought: "ok, wait a moment, I need read this more
slow". And later,
I opened my mouth, and said wooowww!!!, Can I do that with jQuery??
This is the first example of end() method that I can see and, now, I see
the power of the end() method.
Thanks John and the jQuery team for open our eyes with each JavaScript
experience ;-)
--
Best Regards,
José Francisco Rives Lirola <sevir1ATgmail.com>
SeViR CW · Computer Design
http://www.sevir.org
Murcia - Spain