- From: Sami Lempinen <lempinen@iki.fi>
- Date: Sat, 11 Nov 2000 22:59:42 +0200
- To: html-tidy@w3.org
On Sat, Nov 11, 2000 at 11:50:32AM -0500, jtnews wrote:
> where in the DOM data structures is href stored?
>
> For example,
> <a href="http://myurl.com">myurl</a>
>
> Where can I find "http://myurl.com" ?
>
> I find "a" listed as an element but I can't find
> an "href" node anywhere.
If I understood your question correctly, you should be able to
retrieve the attribute value using the getAttribute("href")
method call on the Element that is "a".
-Sami
--
lempinen@iki.fi http://www.iki.fi/lempinen/
ICQ:19002710 ************* apt-get a life
Received on Saturday, 11 November 2000 15:59:58 UTC