W3C home > Mailing lists > Public > public-webapi@w3.org > January 2007

Re: Selectors API: Multiple elements with the same ID

From: Robert Sayre <sayrer@gmail.com>
Date: Sat, 27 Jan 2007 18:12:20 -0500
Message-ID: <68fba5c50701271512o371b9607o2869c1fdb90413c8@mail.gmail.com>
To: "Anne van Kesteren" <annevk@opera.com>
Cc: "Bjoern Hoehrmann" <derhoermi@gmx.net>, "Simon Pieters" <zcorpan@gmail.com>, "public-webapi@w3.org" <public-webapi@w3.org>

On 1/27/07, Anne van Kesteren <annevk@opera.com> wrote:
>
> Yes, they are prolly slightly different (although I haven't actually seen
> any documentation on how getElementById exactly works).

MSDN says it returns the "first object".

<http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/getelementbyid.asp>

-- 

Robert Sayre
Received on Saturday, 27 January 2007 23:12:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:56 GMT