[Php-avanzado] Normalización
Daniel Billia
ferudine en sion.com
Sab Jun 15 11:12:29 ART 2013
Garcías Leo después lo bajo es que hay que tener
el concepto básico sino el lo mismo que copiar
este finde me pongo a ejercitar...te recuerdas
que el jueves me mostraste un script para
visualizar imagen (preview) en el ie8 funciona
bien y el mosilla cuando carga solo se ve el
nombre de la imagen pero no el path te mando el script
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script language="JavaScript" type="text/JavaScript">
function previewImage()
{
//alert('path:'+document.form1.file.value);
var image=document.form1.image; //carga puntero img scr
image.src = document.form1.file.value;
}
</script>
</head>
<body>
<FORM ACTION="" METHOD="post" ENCTYPE="multipart/form-data" NAME="form1">
<INPUT TYPE="file" NAME="file" onchange="previewImage()" size="50"><BR>
<img src="Sample Pictures/Desert
Landscape.jpg" name="image" width="100" height="100" />
</FORM>
</body>
</html>
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <http://www3.fi.mdp.edu.ar/pipermail/php-avanzado/attachments/20130615/d7513b6b/attachment.html>
Más información sobre la lista de distribución Php-avanzado