¿Comprendo, pero ahora cómo hago para sumar los valores?
Código:
<HTML> <HEAD></HEAD> <BODY>
<b>Transporte</b><p>
<input type="radio" name="Transporte" value="1" checked> Primera Opción
<input type="radio" name="Transporte" value="2"> Segunda Opción
<input type="radio" name="Transporte" value="3"> Tercera Opción
<input type="radio" name="Transporte" value="4"> Cuarta Opción </p>
<p>
<b>Hospedaje</b></p>
<p>
<input type="radio" name="Hospedaje" value="1" checked> Primera Opción
<input type="radio" name="Hospedaje" value="2"> Segunda Opción
<input type="radio" name="Hospedaje" value="3"> Tercera Opción
<input type="radio" name="Hospedaje" value="4"> Cuarta Opción
</p>
<p>Suma total: </p>
</BODY></HTML>