Good morning all.
Don't know what nodes are. A very quick google search indicates they are a dom that can be manipulated w/js.
is there a great link or tutorial on nodes you folks really like and can point me to?
thx
D
| SitePoint Sponsor |


Good morning all.
Don't know what nodes are. A very quick google search indicates they are a dom that can be manipulated w/js.
is there a great link or tutorial on nodes you folks really like and can point me to?
thx
D


This question would be more appropriate for the javascript forum than CSS. But a quick answer is a node is an 'object unit' in the DOM. A node can be an element ( both block and inline), such as IMG, SPAN, P, LI, etc. It can( but DOESNT have to be) be a child or a parent or another node. and it can also be just the actual text content inside a tag.
hope that helps
Brilliant ideas, elegant execution.
Graphic Design, Art Direction, Copywriting and Web Design.

The following node types exist:
Element eg. <div> <p>
Attr
Text ie the text in between the other nodes
CDATASection ie the content of: <![CDATA[ ]]>
EntityReference
Entity
ProcessingInstruction
Comment ie the content of <!-- -->
Document
DocumentType
DocumentFragment ie. a placeholder for nodes not yet attached to the document
Notation
Stephen J Chapman
javascriptexample.net, Book Reviews, follow me on Twitter
HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
<input name="html5" type="text" required pattern="^$">


thank you all. it helped. will look up more info in a javascript search.
I thought it was css.
D
Bookmarks