Re: Selectors API: Multiple elements with the same ID

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 UTC