Quote:
Originally Posted by JonChuck
This is awesome, thank you. <<<link removed>>>
I will be taking this code and adding it to an article I am writing for my website. It will really help people identify the severity of too many stressors in their lives.
Again, thank you very much.
-----------------------------------
The Jon and Chuck Website
Articles, Videos, Links, Discussions, etc on "Invisible Issue" Disabilities
We Do the Research For You
www . jonandchuck . com
|
Well, thank you very much JonChuck.
JonChuck, please don't be offended, but you did not read my code correctly.
You changed the HTML portion of your page and incorporated the onclick event listener to each input element, that was very good.
But you did not use the modified Javascript that I supplied.
Also I wanted to point out that there was a small flaw in my first code.
If you will notice, after you make the first calculation and then you clear all the check boxes and hit the calculate button again, the total does not clear.
It will contain the last calculation.
To correct that, I have to add one line of code that will clear the total each time you perform a new calculation.
Like this: