Ver Mensaje Individual
  #3 (permalink)  
Antiguo 12/06/2010, 13:25
Avatar de Adler
Adler
Colaborador
 
Fecha de Ingreso: diciembre-2006
Mensajes: 4.671
Antigüedad: 17 años, 4 meses
Puntos: 126
Respuesta: ayuda con un JS

Hola

Solo tendrías que pasarle la id. Quedaría algo como esto

Código Javascript:
Ver original
  1. function mostrar(id) {
  2.   document.getElementById(id).style.display = (document.getElementById(id).style.display == 'none') ?  'block': 'none';
  3. }

Suerte
__________________
Los formularios se envían/validan con un botón Submit
<input type="submit" value="Enviar" style="background-color:#0B5795; font:bold 10px verdana; color:#FFF;" />