W3C home > Mailing lists > Public > www-dom@w3.org > October to December 1999

Re: DOM Level 2 needs getElementById method

From: David Brownell <david-b@pacbell.net>
Date: Tue, 05 Oct 1999 18:20:41 -0700
Message-ID: <37FAA3E9.1F30820D@pacbell.net>
To: Michael Champion <michael_champion@ameritech.net>
Cc: www-dom@w3.org
Michael Champion wrote:
> 
> ----- Original Message -----
> From: David Brownell <david-b@pacbell.net>

> > > Element getElementById(in DOMString elementId)
> >
> > Yes -- I've made such proposals myself, too.  There's a method naming
> > issue, it can't reuse the name from the HTML DOM since it's got a
> > different return type, but that's fixable.
> 
> Hmmm ... I'd checked the HTML DOM spec, and the return type is Element, just
> like my proposal.

Oops, you're right.  I thought it was HTMLElement ... you're right,
it isn't, ergo no issue.  Sorry for the confusion.

- Dave
Received on Tuesday, 5 October 1999 21:22:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:46 GMT