Ver Mensaje Individual
  #6 (permalink)  
Antiguo 02/06/2007, 10:07
yesmina
 
Fecha de Ingreso: diciembre-2004
Mensajes: 133
Antigüedad: 20 años, 2 meses
Puntos: 0
Re: Habilitar elementos de un formulario

holas espero me puedan ayudar,AHORA TENGO OTRO PROBLEMA.

-->aqui les envio en codigo:InsertarBC.php

Código HTML:
function Deshabilitar(form){ 
	form.cat.disabled = true;
	form.subcat.disabled = true;
	form.activo.disabled = true;
	form.nom.disabled = true;
	form.descri.disabled = true;
	form.acceso.disabled = true;
	form.guardar.disabled = true;
	form.detalle.disabled = false;
}
</script> 
Código PHP:
<form name="frmbcono" method="post" action="procBConocimiento.php" enctype="multipart/form-data">

//......aki estan los elemtos que desea deshabilitar

   
<input type="submit" name="guargar"  class="boton" value="Guardar" onClick="Deshabilitar(this.form)" >
   <
input type="hidden" name="tipo" value="ibconocimiento">         
   <
input type="submit" name="detalle"  class="boton" value="Registrar Detalle" disabled>    
      
</
form
-->La función Deshablitar NO FUNCIONA

espero puedan ayudarme..GRACIAS
__________________
Mina