Robert Sayre wrote:
MSDN says it returns the "first object".

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

For what it's worth, that's not what Gecko does, and I personally would rather not try to enforce that -- it's somewhat expensive to do so in the face of DOM mutations.

-Boris

Reply via email to