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.
posted 6 years ago
Code tags use [ and ] not < and >
Can I ask why are you using a form for each checkbox seems a little odd.