Thread View: es.comp.lenguajes.java
2 messages
2 total messages
Started by Paul
Tue, 20 Feb 2007 13:53
Cambiar imagen
Author: Paul
Date: Tue, 20 Feb 2007 13:53
Date: Tue, 20 Feb 2007 13:53
24 lines
1633 bytes
1633 bytes
Hola,
Tengo un imput="file", y lo que hace es que cada vez que cambiar el
valor se actualizar una imagen. Esto me funciona bien para Internet
explorer 6 pero para nternet explorer 7 y firefox no funciona.
El código es:
function selecciona(toObject, toImage)
{
toImage.src=toObject.value;
}
<input name="txtImg1" type="file" size="50" maxlength="100"
onChange="selecciona(this,Image1)">
<img src="c:\foto1" width="250" height="250" id="Image1" name="Image1"/
>
Alguna idea?
Gracias
Re: Cambiar imagen
Author: Eduardo Yáñez Parareda
Date: Tue, 20 Feb 2007 17:51
Date: Tue, 20 Feb 2007 17:51
5 lines
1103 bytes
1103 bytes
> Tengo un imput="file", y lo que hace es que cada vez que cambiar el > valor se actualizar una imagen. Esto me funciona bien para Internet > explorer 6 pero para nternet explorer 7 y firefox no funciona. Yo preguntar�a en un foro de Javascript....
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads