a me viene in mente una cosa cosi...


codice:
<script>
function dennis(cosa){
posto=parseInt(document.prova.costo.value)
document.prova.costo.value=posto+cosa
}
</script>
</head>
<body>
<form name="prova" action="pagina.php" method="post">
<input type="text" name="costo" value=80>

<input type="checkbox" costo="10" name="polsi" onClicK="dennis(parseFloat((this.checked?this.costo:-this.costo)))">

<input type="checkbox" costo="13" name="bottoni" onClicK="dennis(parseFloat((this.checked?this.costo:-this.costo)))">

<input type="submit" value="saluti">
</form>
:master: