Ver Mensaje Individual
  #4 (permalink)  
Antiguo 18/03/2016, 18:19
Avatar de xfxstudios
xfxstudios
 
Fecha de Ingreso: junio-2015
Ubicación: Valencia - Venezuela
Mensajes: 2.448
Antigüedad: 8 años, 10 meses
Puntos: 263
Respuesta: Activar y Desactivar textobox

Código PHP:
Ver original
  1. if ($tipocliente <> '')
  2.                             {
  3.                               echo "<input type='text'  name='articulos' id='articulos' onKeyUp='javascript:this.value=this.value.toUpperCase();' maxlength='10' value='".if (isset($_POST['articulos'])){ echo $_POST['articulos']}."' >";
  4.                             }
  5.                                 else
  6.                             {
  7.                               echo "<input type='text'  onKeyUp='javascript:this.value=this.value.toUpperCase();' maxlength='10' readonly >";
  8.                             }

Aunque esta com rara tu logica, pero prueba asi:


__________________
[email protected]
HITCEL