¡@

Home 

javascript Programming Glossary: getnextnode

How to get nodes lying inside a range with javascript?

http://stackoverflow.com/questions/667951/how-to-get-nodes-lying-inside-a-range-with-javascript

of a way for the last few hours and came up with this var getNextNode function node skipChildren if there are child nodes and we didn't.. if node.parentNode return null return node.nextSibling getNextNode node.parentNode true var getNodesInRange function range var.. var nodes do nodes.push startNode while startNode getNextNode startNode startNode endNode return nodes However when the end..