0 LIKES LikeUnLike
How/can I get the child nodes from an object variable?egvar example = new Object()example.child_1 = trueexample.child_2 = falseHow do I get the amount of child nodes the object "example" has?I have tried: object.childNodes[] and object.firstChild but these don't seem to work the same as when an object is a tag element.Thanks for your help, Colinps sorry for the bad terminology - I'm new to using objects in js
Tags:
Report (0) (0) | earlier
Latest activity: earlier. This question has 1 answers.