Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Don't increment the score again

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #187823
    GSG
    Participant

    Hey guys,

    I have a problem with my quiz application.

    I use radio inputs and two buttons: next and back.

    I have a problem with keeping the score: when the user clicks the back button, the radio button selected remains checked and when the user hits the next button again, the score increase(if it’s right).

    So if the right answer for question A is the second radio button and the user’s initial selection is that button, the score will increase again if him clicks back and then next again.

    What technique to use for this problem?

Viewing 1 post (of 1 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.