Ver Mensaje Individual
  #4 (permalink)  
Antiguo 14/12/2009, 06:42
Hidek1
Colaborador
 
Fecha de Ingreso: octubre-2009
Ubicación: Tokyo - Japan !
Mensajes: 3.867
Antigüedad: 14 años, 6 meses
Puntos: 334
Respuesta: Javascript en echo de php...es posible?

es tema de comillas solamente
intenta asi

Código PHP:
Ver original
  1. echo <<<EOT
  2. <input type ="text" name="hola" />
  3. <input type="radio" name="holas" value="ks" ONCLICK="javascript:document.getElementById('hey').disable='true';" />
  4. <input type="text" id="hey" />
  5. EOT;

saludos!
__________________
More about me...
~ @rhyudek1
~ Github