Re: How to get reference to an object
- From: "Alex D." <alexware69@xxxxxxxxxxx>
- Date: Wed, 7 Jun 2006 14:30:20 -0400
Is an html document. DOM is a tree that can contain different nodes, like
Elements, Attr, Comments, DocumentFragment and Text. I know the name or ID
for the node I need but I dont know how to reference the node by ID since
there's no GetNodeByID function....just GetElementByID
"Martin Honnen" <mahotrash@xxxxxxxx> wrote in message
news:uyoRNikiGHA.4896@xxxxxxxxxxxxxxxxxxxxxxx
Alex D. wrote:
but I need to be able to get all kind of DOM nodes and not only Elements.
I also need Comments, Attr, Text...etc
What is the name of a comment or text node in your understanding?
Are you searching in a HTML document or in an XML document (where the
latter might allow XPath searches)?
--
Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
.
- Follow-Ups:
- Re: How to get reference to an object
- From: Dave Anderson
- Re: How to get reference to an object
- References:
- How to get reference to an object
- From: Alex D.
- Re: How to get reference to an object
- From: Daniel Kirsch
- Re: How to get reference to an object
- From: Alex D.
- Re: How to get reference to an object
- From: Martin Honnen
- How to get reference to an object
- Prev by Date: onFocus of option vlaue
- Next by Date: Re: Finding heigth and widthof image
- Previous by thread: Re: How to get reference to an object
- Next by thread: Re: How to get reference to an object
- Index(es):
Relevant Pages
|