Bjoern Hoehrmann wrote:
Note: .foo("#id") is not equivalent to document.getElementById('id')if multiple elements have the same ID. This method returns the first element in document order with the given ID, while getElementById'sbehavior is undefined in this case.
I would like to put in a vote for this. It's pretty much word-for-word how I would have written it. :)
-Boris