Chris1989
02-12-2010, 05:52 PM
Hi guys, i am a competent XHTML and CSS coder but i need a scirpt of somesort (javascript maybe?)
All i need is a simple script which can count certain numbers. I have a form with 4 checkboxes which stand for certain amounts of money. I need the total to be displayed at the bottom of the form.
So i need it to count the total of all the checkboxes that are ticked.(the amounts they stand for not the 'amount of checkboxes ticked')
If anyone can point me in the right direction it would be great, i have no idea whatsoever how to do it I have spent all day yesterday and today reading w3 schools tut's to no avail.
Any help is really appreciated.
Cheers.
All i need is a simple script which can count certain numbers. I have a form with 4 checkboxes which stand for certain amounts of money. I need the total to be displayed at the bottom of the form.
So i need it to count the total of all the checkboxes that are ticked.(the amounts they stand for not the 'amount of checkboxes ticked')
If anyone can point me in the right direction it would be great, i have no idea whatsoever how to do it I have spent all day yesterday and today reading w3 schools tut's to no avail.
Any help is really appreciated.
Cheers.