Link to home
Start Free TrialLog in
Avatar of chsalvia
chsalvia

asked on

childNode

There doesn't seem to be a .childNode function built into javascript.  So, what is the easiest way to access child elements?  If I have a <div>, and I want to access a child <img>, is there a simple way to do this?  

(I don't want to access it directly, via getElementById - I'm only asking if there is some way to access childNode via the parentNode.)

ASKER CERTIFIED SOLUTION
Avatar of KennyTM
KennyTM

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Pravin Asar
Pravin Asar
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial