Spaghetti Tom
Monday, March 13, 2017
To find an adjacent DOM node in JavaScript try reaching up to the parent and then down again to a child.
this.whatever.parentElement.children[13].style = "background-color:purple;";
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment