You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Intro to JavaScript
//depth first search nextNode = function(node) {
//go down, first, following the first Child if (node.firstChild != null) { return node.firstChild; }
//if no childs: check for siblings while (node != null) { if(node.nextSibling) { return node.nextSibling; } //if no siblings, climb up node = node.parentNode; }