- From: <mfmartin@med2.unex.es>
- Date: Wed, 29 Jan 2003 14:54:48 +0100
- To: <www-html@w3.org>
I want to use 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" >
<p>
<input type="Submit" value="submit">
<p>
<input type="button" value="cargar" onClick="validar()">
cause i want to send files to a server. But this not work, does anybody
know why?
Thanks......
----------------------------------------------
Marcos Fernández Martín -- Univ.de Extremadura
----------------------------------------------
Received on Friday, 31 January 2003 03:08:13 UTC