Ver Mensaje Individual
  #2 (permalink)  
Antiguo 11/06/2003, 13:06
Avatar de Kaopectate
Kaopectate
Colaborador
 
Fecha de Ingreso: diciembre-2001
Ubicación: Curaçao (Antillas Holandesas)
Mensajes: 3.179
Antigüedad: 23 años, 1 mes
Puntos: 38
Hola affv.

Prueba con el siguiente código:

Código PHP:
<html>
 <
head>
  <
script language="JavaScript">
   function 
mostrar(sURL){
    
document.frm.imagen.src sURL;
   }
  
</script>
 </head>
 <body>
  <form name="frm">
   <input type="file" onchange="mostrar(this.value)">
   <img name="imagen">
  </form>
 </body>
</html> 
Saludos.