Hi folks,
i had one html form to calculate total marks of 3 questions.this form can be seen in attached file.
for every question,we will have two buttons for 0 and 2.
and underneath one text field to display total.
initially, i have pressed 2 button for all questions and total 6 was displayed in total text box.
Task:if i want to give 0 marks to first question.then it will show 4 marks in total text box.but it is adding 0 marks to total 6 marks.
Please let me how to fix it.
Thanks in advance.....
Thanks
Ravi Gaddam
Loading
Jaganathan BantheswaranPosted Dec 11, 2013, 5:45 AM
Here is the live example.
Ravi GaddamPosted Dec 12, 2013, 3:06 AM
Thanks a lot first,
absolutely correct..
Jaganathan BantheswaranPosted Dec 11, 2013, 10:37 AM
Ravi GaddamPosted Dec 11, 2013, 6:26 AM
Thanks a lot for your reply.
Anubhav ChaudharyPosted Dec 11, 2013, 6:02 AM
I havn't answered this question so I had no right to question your reply but Bro your Fiddle is not working properly, if I select 0, 2, 0 then the Result is shown as 0 but result should be 2, actually selecting 0 is deducting 2 from the result which was not asked. So, I think you should update your code