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

Re: id= field identifier

From: Joseph Kesselman/Watson/IBM <keshlam@us.ibm.com>
Date: Thu, 9 Nov 2000 14:23:56 -0500
To: www-dom@w3.org
Message-ID: <OF295902A9.48EC188F-ON85256992.006A58AB@pok.ibm.com>

>I can't find a way to get the id when I already have handle to
the element.

The ID attribute is exposed as a DOM Attr node. So you should be able to
use getAttribute() to retrieve it.


______________________________________
Joe Kesselman  / IBM Research
Received on Thursday, 9 November 2000 14:24:36 GMT

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