- From: Boris Zbarsky <bzbarsky@mit.edu>
- Date: Sat, 27 Jan 2007 22:01:42 -0600
- To: "public-webapi@w3.org" <public-webapi@w3.org>
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's
> behavior 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
Received on Sunday, 28 January 2007 04:01:56 UTC