Re: DOM Level 2 needs getElementById method

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 UTC