- From: Larry Hawkins <larryh@lslg.net>
- Date: Tue, 11 Mar 2003 17:01:31 -0600
- To: <www-html@w3.org>
Received on Tuesday, 11 March 2003 18:09:01 UTC
from what I can see it is because you have not set the "MIME TYPE" of file....like this <SCRIPT LANGUAGE="JavaScript"> <!-- function validar() { document.formulario.texto.value = "mi texto"; document.formulario.FILE1.value = "c:\rascacielos.jpg"; } //--> </SCRIPT> inside a web page like this: <form action="http://www.pppp.es/cgi_upload/upload.cgi" method="post" name="formulario" enctype="multipart/form-data" > <input type="File" name="FILE1" accept="(types of files to accept)"> <p> <input type="Submit" value="submit"> <p> <input type="button" value="cargar" onClick="validar()">
Received on Tuesday, 11 March 2003 18:09:01 UTC