[whatwg] Use cases for Node.getElementById

On Sat, Dec 6, 2008 at 7:09 PM, Calogero Alex Baldacchino
<alex.baldacchino at email.it> wrote:
> Simon Pieters ha scritto:
>>
>> On Fri, 05 Dec 2008 19:19:04 +0100, Calogero Alex Baldacchino
>> <alex.baldacchino at email.it> wrote:
>>
>>> [...]
>>
>> (I'm currently the editor of that proposal, currently located at
>> http://simon.html5.org/specs/web-dom-core )
>>
>
> I'm reading it :-)
>
> And I have a few questions.

I did not see a proposal for Element.getElementById.

I would not care about that much.

I woud rather have

Element.getElementsByName.

It is perfectly valid for a doucment to have multiple elements w/the
same name (though not generally a good idea). I've seen this before.

Was this proposed?

Garrett

Received on Tuesday, 9 December 2008 21:20:37 UTC