Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Mar 2010
    Posts
    42
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Correcting Test with Javascript

    I would like to create a quiz/test, and I would like it to be corrected by Javascript--where when the user clicks the submit button, it will show the user "You got number% correct." How can I do this?

  • #2
    Senior Coder tomws's Avatar
    Join Date
    Nov 2007
    Location
    Arkansas
    Posts
    2,644
    Thanks
    29
    Thanked 330 Times in 326 Posts
    What do you mean, "How can I do this?" Use a form and an array of expected answers.
    Are you a Help Vampire?

  • #3
    New to the CF scene
    Join Date
    Jun 2010
    Posts
    9
    Thanks
    1
    Thanked 1 Time in 1 Post
    Wow, I see what you mean by Help Vampires...you do have some of them here, like this guy...what did you expect that someone would give you all the html and JavaScript all typed up and all you have to do is add your questions/answers???


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •