Template:Team:Paris-Saclay/left-column

From 2012.igem.org

(Difference between revisions)
Line 21: Line 21:
var totalNodes = $('*',xmlData).length; // count XML nodes
var totalNodes = $('*',xmlData).length; // count XML nodes
var next = $(xmlData).find("query");
var next = $(xmlData).find("query");
-
totalNodes = next.length;
+
totalNodes = $(*,next).length;
alert("This XML file has " + totalNodes);
alert("This XML file has " + totalNodes);
},
},

Revision as of 19:07, 19 August 2012

Follow us !