| | |
help to understand parent node childnode properties
Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved |
Well an HTML page is laid out like a tree.
Each point in the tree is called a Node. The Node directly above another in the tree is its parent (just like a family tree). Any node directly below another is a child
JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
/* HEAD | BODY \ DIV <-- SPAN's parent node \ SPAN / \ A IMG <-- SPAN's child nodes
Each point in the tree is called a Node. The Node directly above another in the tree is its parent (just like a family tree). Any node directly below another is a child
GCS d- s+ a-->? C++(++++) UL+++ P+>+++ L+++ E--- W+++
N+ o K w++(---) O? !M- V PS+>++ PE+ Y+ PGP !t- 5? X- R tv+
b+>++ DI+ D G++>+++ e+ h+>++ r y+
PMs asking for help will not be answered, post on the forums. That's what they're there for.
N+ o K w++(---) O? !M- V PS+>++ PE+ Y+ PGP !t- 5? X- R tv+
b+>++ DI+ D G++>+++ e+ h+>++ r y+
PMs asking for help will not be answered, post on the forums. That's what they're there for.
1
#4 Oct 6th, 2009
First, you must understand HTML/XHTML and Javascript. Otherwise you will be trying to run before you can walk.
Then, get your mind round the fact the the Document Object Model (DOM) is a tree structure and learn a few special Javascript commands to address and manipulate the DOM.
There's little point posting examples here as there are several online tutorials which do a much better job. This is one from W3Schools, or stick "DOM Tutorial" or similar into Google.
Airshow
Then, get your mind round the fact the the Document Object Model (DOM) is a tree structure and learn a few special Javascript commands to address and manipulate the DOM.
There's little point posting examples here as there are several online tutorials which do a much better job. This is one from W3Schools, or stick "DOM Tutorial" or similar into Google.
Airshow
50% of the solution lies in accurately describing the problem!
![]() |
Similar Threads
- Access Parent node from a child node (Visual Basic 4 / 5 / 6)
- function to return parent node (C++)
- Binary Tree help! (C++)
- DOM Node Manipulation (JavaScript / DHTML / AJAX)
- Problem with display parent & child nodes if XML not follows an Hierar Struc. in c# (XML, XSLT and XPATH)
- Updating but bypassign key constraints (MySQL)
- Help with Jtree (Java)
- Question about binary tree & heaps (Computer Science)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: Loop to play video one after the other
- Next Thread: setInterval() help
| Thread Tools | Search this Thread |
Tag cloud for JavaScript / DHTML / AJAX
ajax ajaxcode ajaxhelp animate api automatically beta boarder box bug calendar card checkbox child class column cookies createrange() css cursor dependent disablefirebug dom download dropdown editor element engine error events explorer ext file firehose flash form forms game google gwt html htmlform ie8 iframe image() images internet java javascript jawascriptruntimeerror jquery jsf jsfile jump math matrixcaptcha microsoft mimic mp3 mysql object offline onmouseoutdivproblem onreadystatechange parent passing pdf php player post problem progressbar rated rating regex runtime scroll search select session shopping size sql star stars stretch text textarea twitter validation w3c web website window windowofwords windowsxp wysiwyg xml xspf \n






