Presently I'm creating a offline XML data based objective type quiz.

myXML = new XML();
myXML.ignoreWhite = true;
quesFunction = function (status) {
if (status) {
currentQues = this.firstChild.childNodes;
delete myXML;

In XML file I'm using more than hundred questions, all questions and their options appear one by one, that's fine. But I want only 25 questions randomly every time quiz starts, so how it's possible.


Here output is 125 and they appear one by one by clicking next button, but I want only 25 questions at a time/session randomly based on that 125 question.

Thanks a lot to everyone.