ennesimo giro
praticamente funziona...incredibile.
codice:
$("#idTotal").click(
				function (){
					// get the sum of the elements
					var sum1 = $(".textSumm").sum();
					if (sum1>=2){
						var sum2 = (((($(".textSumm").sum())/10)-0.1)+1).toFixed(2);
						$("#totalSum").text("$" + sum2.toString());
						//alert(sum2);
					}
					else{
						$("#totalSum").text("$" + sum1.toString());
						//alert(sum1);
					}					
				}
			);
Però vorrei che al click sulla checkbox mi restituisse il risultato e non al click del button idTotal...

ho provato a fare cosi:
codice:
$("#sum").click(
	function (){
etc etc...
solo che funziona solo per una checkbox..
Come posso fare?Grazie mille....