This article (please excuse the pun) explains how this works a little more:
Why I still prefer Prototype to JQuery
The author considers it a poor design decision for the JQuery library, but I'm not advocating either way. I just thought the article was pretty interesting.