![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
07/08/2009, 15:24
|
| | Fecha de Ingreso: enero-2008
Mensajes: 366
Antigüedad: 17 años, 1 mes Puntos: 3 | |
Respuesta: input type= file en mozilla Agrego el código:
function RN()
{
var cadena = document.getElementById("ar_datos").value;
if (cadena=="")
{
alert("El campo de la ruta no debe estar en blanco");
return false;
}
else
{
cadena = "file:///" + cadena;
return true;
}
}
<form name='leer' enctype="multipart/form-data" method='post' action="/cgi-win/bd.exe/EM">
<input type="file" value ="50" id="ar_datos" value="">
<input type='submit' value ='Abrir' onclick="return RN();">
</form>
con este código no me marca ningún error pero no se va al CGI |