hi,
does anybody know how to assign a default value for input type=file?
Code:<input type="File" name="myFile">
do we need Jscripts? such that:
??Code:document.xxx.myFile.value = "c:\blablabla.txt";
Thanks
hi,
does anybody know how to assign a default value for input type=file?
Code:<input type="File" name="myFile">
do we need Jscripts? such that:
??Code:document.xxx.myFile.value = "c:\blablabla.txt";
Thanks
Due to security purposes, the only way to set a value for file is to manually have the user select it. Otherwise, it would be possible to steal files from the user's computer one way or another.
Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
Black Label (07-04-2008)
o no.
the whole project depends on this action
thanks djr ..
What are you trying to do? Perhaps we can suggest something.
However, there's a good chance your project is impossible, because the same functions could be used maliciously against the users.
Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
Bookmarks