Sonia: Rekusrion läuft nicht

Beitrag lesen

hi

// returns an array containing all nodes contained in the _Node-object
_Node.prototype.getAllNodes = function () {
var allChildren=new Array();
allChildren=this.childNodes;

for (i=0; i<this.childNodes.length; i++) {

Ich bin mir nicht sicher, mein java ist etwas gerostet,
 aber du setzt in der For schleife
i immer =0 wie soll das ding jemals fertig werden?

versuchs mal mit ner while schleife

Sonia