Hola
Nachoseo
A ver si este código te sirve de ayuda:
Código PHP:
<html>
<head>
<script type="text/javascript">
function sumar(obj,precio){
pa = obj.parentNode;
prec = pa.getElementsByTagName('span')[1];
prec.innerHTML = obj.value*precio;
// sumar cantidades
frm = document.forms[0];
tot = 0;
for (i=0; ele=frm.getElementsByTagName('p')[i]; i++)
tot += parseInt(ele.getElementsByTagName('span')[1].innerHTML);
document.getElementById('total').innerHTML = 'Total: '+tot;
}
</script>
</head>
<body>
<form>
<p><span>Escalada</span>
<select onchange = "sumar(this,500)">
<option value="0">--</option>
<option value="1">1</option>
<option value="2">2</option>
</select>
<span>0</span>
</p>
<p><span>Vaguear</span>
<select onchange = "sumar(this,1000)">
<option value="0">--</option>
<option value="1">1</option>
<option value="2">2</option>
</select>
<span>0</span>
</p>
<div id="total">Total:</div>
</form>
</body>
</html>
Saludos,