Ver Mensaje Individual
  #1 (permalink)  
Antiguo 18/01/2010, 06:08
Avatar de angel1993
angel1993
 
Fecha de Ingreso: octubre-2009
Mensajes: 752
Antigüedad: 14 años, 7 meses
Puntos: 22
¿Como creo esta funcion? [FACIL]

Quiero hacer esto
<script language="javascript">
function Alternar(Seccion){
if (Seccion.style.display=="none"){Seccion.style.disp lay=""}
else{Seccion.style.display="none"}
}
</script>

Pero con esta funcion..
getElementByID("La id").style.display = "block";