I am new to Javascript - I need to create a survey - say 15 questions, with 6 options/ question value 0 - 5.
Once all questions answered the total is displayed. Depending on the the total (4 options) a line of text will appear you are A, B, C, or D.
I have tried to modify a script which has text then 6 radio buttons, plus a total box. each time a button is selected the total increases by that value. so if i choose button with a value of 2 and then change my mind a select a button with a value of 3 the total displays 5 and not 3.
I would like each stage explained as I need to understand what each line does. I have read a number of books but they always seem to miss the bit that I need.
I hope someone can help
Thanks J
Once all questions answered the total is displayed. Depending on the the total (4 options) a line of text will appear you are A, B, C, or D.
I have tried to modify a script which has text then 6 radio buttons, plus a total box. each time a button is selected the total increases by that value. so if i choose button with a value of 2 and then change my mind a select a button with a value of 3 the total displays 5 and not 3.
I would like each stage explained as I need to understand what each line does. I have read a number of books but they always seem to miss the bit that I need.
I hope someone can help
Thanks J