Click to See Complete Forum and Search --> : about <input type=file>


wind0965
01-13-2004, 10:19 AM
the code is:
<input type="file" name="userFile2" size="80" value="C:\" onkeypress="KeyPress()">

But the "C:\" does not show in the text area. Who knows how to show it.

requestcode
01-13-2004, 10:25 AM
Try C:\\

Pittimann
01-13-2004, 10:37 AM
Hi!

Due to security reasons, the file input cannot be pre-filled. Its' value attribute is readonly and only changeable by the user!

Cheers - Pit

fredmv
01-13-2004, 10:39 AM
http://www.codingforums.com/showthread.php?s=&threadid=31471 :rolleyes:

wind0965
01-14-2004, 03:14 AM
Thank you for the replies.