hola david,
el codigo que uso esmuy basico y simple ya que no se mucho

es este:
si pongo html y no xhtml, no me anda , y si lo dejo sin DOC me anda bien
Código PHP:
<!DOCTYPE xhtml PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "htt p:// w ww.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html >
<head>
<title>Real Estate</title>
<script LANGUAGE="JavaScript">
function ver(){
select_a = Number(document.formulario.a.options[formulario.a.selectedIndex].value);
alert(select_a);
if(select_a == 10){
document.getElementById('b').innerHTML = select_a;
document.getElementById('c').style.display='';
}
if(select_a == 20){
document.getElementById('b').innerHTML = select_a;
document.getElementById('c').style.display='none';
}
}
</script></head>
<BODY>
<form action="" name="formulario" id="formulario" method="GET">
Edad:<br>
<select name="a" id="a" onChange="javascript:ver()">
<option value="0" SELECTED="SELECTED">0</option>
<option value="10">10</option>
<option value="20">20</option>
</select>
<select name="c" id="c" onChange="javascript:ver()">
<option value="0" SELECTED="SELECTED">0</option>
<option value="10">10</option>
<option value="20">20</option>
</select>
</form>
<span id="b" style="color:#F30">0</span></p>
</BODY>
</HTML>
entonces no es necesario poner el DOCTYPE ?
saludos.