...

View Full Version : input type="file" question



srumphrey
10-14-2002, 03:47 PM
I am trying to get a file name and path from the user. I am using input type="file" and it works fine except I really need to initialize the file name and path and have the browse window start there with the file name I have put in. I tried using the VALUE="path\name" but it isn't working. I am doing something wrong or is this not possible?

Thanks

<input TYPE="FILE" NAME="txtFileName" VALUE="S:\dir1\dir2\filename.txt" ALLOW="text/*">

Mr J
10-14-2002, 11:30 PM
Probably something like


document.location=document.formname.txtFileName.value

Not too sure

adios
10-15-2002, 01:24 AM
http://www.faqts.com/knowledge_base/view.phtml/aid/913/fid/177



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum