• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

select check all and total the value in a field

 
shyamkumar bopannachengalaiah
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I developed a application which has checkbox and a field whose name is amount as shown in attached file(checkbox.html).When select all check boxes the total value has to be calculated and shown in total text box. If i select each check box seperately or one by one the values has to be calculated and simultaneously the toal value has to be shown. For example if i check only two check box the two values only calculated simultaneouslyand total value has to be shown in total text box.How can i do this? if any java script is available kindly post for me.
Below is the design code for it.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Code tags use [ and ] not < and >

Can I ask why are you using a form for each checkbox seems a little odd.

Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic