Input type file

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
Paddy
Forum Contributor
Posts: 244
Joined: Wed Jun 11, 2003 8:16 pm
Location: Hobart, Tas, Aussie
Contact:

Input type file

Post by Paddy »

Okay, I am slowly going insane. Is there a way to do something that would have this effect?

<input type="file" value="somefile.txt">

I want the file textbox to have a value in it when it pops up. Doing the above doesn't achieve the effect. Oh, and the somefile is dynamic and grabbed from the URL.

Any ideas?

If not, anyone know any good asylums??? I would like a room with a view and some nice padding. :) Cute nurses would be good too. ;)
qads
DevNet Resident
Posts: 1199
Joined: Tue Apr 23, 2002 10:02 am
Location: Brisbane

Post by qads »

you cant have a default value for file type field, this might help though viewtopic.php?t=24486
Post Reply