Categories: Uncategorized

jQuizMe 2.0 Released.

Hey everyone,

jQuizMe 2.0: Features a everything you need to make a javascript quiz online.

After a few months of programming I’ve finally finish jQuizMe. It took a some time to get done but it feels rewarding.

Anyhow, jQuizMe 2.0 is at code.google now.

http://code.google.com/p/jquizme/

Please post a issues at jQuizMe on Github.com

Larry Battle

I love to program, and discover new tech. Check out my stackoverflow and github accounts.

View Comments

  • Hi great plugin. Is there a way for me to save the questions itself on the database if it was answered wrong?

  • Hi great plugin. Is there a way for me to save the questions itself on the database if it was answered wrong? So it means if 4 questions have been answered wrong these questions will be saved on a database to serve as a report or something..

    • Use the options.statusUpdate function.

      Your code might look like this.

      options.statusUpdate = function( quizInfo, $quiz ){
      // The page will be redirect to a google if there is more than one question right on quit.
      if( !quizInfo.hasQuit ){
      $( "#score" ).text( "Score: "+ quizInfo.score );
      }
      };

      Demo:
      http://jsfiddle.net/ThDgL/

  • Hi Larry,

    It is amazing pllug-in.

    In case of using symbols like theta (ϑ), pie (π) square root etc., in ans, even if the user chooses the correct one, it shows as wrong.

  • i have used Images as questions.. but it takes long time load question .. can u give me any suggestion

  • i have removed check it and next buttons.. now
    How can i change to next question when click on options..

    setCheckAndNextBtn = function(){
    var isFlashCard = '';

    $(".q-ans",currQuiz).click( function(){

    //$("#wcharan",currQuiz).click( function(){
    // alert("dfdsf")

    now i used like tyhis to change to next question.. ie when click on answers div its go to next question....

  • Hi Larry. Amazing job!!!

    I am trying to create a quiz that finish when you fail one question. How should I do it?

    • Use the `options.statusUpdate` function. The first parameter supplies a object that has the attribute `numOfWrong`.
      `numOfWrong` is a numeric value that represents the amount of incorrect answers.

      Try this.

      var options = {};
      options.statusUpdate = function( quizFuncs ){
      if( quizFuncs.hasQuit ){
      return;
      }
      if( 0 < quizFuncs.numOfWrong ){
      alert( "You failed. Please try again." );
      quizFuncs.quitQuiz();
      }
      };
      $( "#quiz" ).jQuizMe( quiz, options );

      Oh and you're right about the `nextQuestion` function not working.

  • Hey larrybattle. how i can submit score into database using php/sql. ? i got id #score which is contained by score i need to submit final score into database. Kindly put me on right way. :-) waiting? and can i change the positions of div suppose i want to keep help button beneath Quiz. how i can do ???? Please reply.

  • one thing more. when i want to display record from database . when i add question column then not display anymore. whats issue with this ?

    // There was an extra comma at the end of multiList array.
    $( function($){
    var quizMulti = {
    multiList: [

    {
    ques: "",//here issue ? no display when adding this.
    ans: "",
    ansSel: ["", ""],
    ansInfo : "" // answer information.
    },

    ]
    };
    options = {
    help: "All the information required can be found in the Introductory Lesson. You can go through the lesson again if you struggle with this quiz.",
    showHTML: true,
    showAns: true,
    animationType: 0,
    showWrongAns: true,
    score:true,
    title: "Vocabulary Quiz"
    };
    options.statusUpdate = function( quizInfo, $quiz ){
    // The page will be redirect to a google if there is more than one question right on quit.
    if( !quizInfo.hasQuit ){
    $( "#score" ).text( "Score: "+ quizInfo.score );
    }
    };
    $("#quizArea").jQuizMe(quizMulti, options);
    });

Share
Published by
Larry Battle

Recent Posts

What really is Data Science? Told by a Data Scientist

What REALLY is Data Science? Told by a Data Scientist - By Joma Tech

7 years ago

Video: How Water Towers Work

How Water Towers Work - Practical Engineering

7 years ago

Dev Tip: Simple tips to improve code reviews

Writing perfect code is a challenging process. That's where code reviews come in to help…

7 years ago

Video: How AI will change the 3d industry

"The Next Leap: How A.I. will change the 3D industry - Andrew Price - Blender"

7 years ago

Best Software Presentation for 2018

"Captain Disillusion: World's Greatest Blenderer - Live at the Blender Conference 2018 - CaptainDisillusion"

7 years ago

Dev Video: A Few Linux Shell Tips

My 5 Favorite Linux Shell Tricks for SPEEEEEED (and efficiency) - By tutoriaLinux > What's…

7 years ago