I know this is quite a common problem starters got, but i've spent some time already trying to find a solution and haven't been able to do it properly. Besides, my html/php are quite basic and rusty :S
What I'm trying to do is a form where you can choose from a drop down list a respective grade, and depending on the grade you choose, a result will be shown. Something like this:
Menu: Grade: Value:
- A - good - 4
- B - good - 4
- C - average - 2
- total 8I want to change B from good to average, then its value should be 2. Therefore, new total is yyy.
Menu: Grade: Value:
- A - good - 4
- B - average - 2
- C - average - 2
- total 6The problem is not really complex, but I haven't been able to find a way to change the "Value" field automatically when you change the "Grade" field without the need of a redirect or reload.
All/Any help appreciated folks!

Help



Back to top









