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 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:07 UTC