adam84 Posted January 7, 2008 Share Posted January 7, 2008 This is what I have <INPUT TYPE=FILE NAME=picFile ID=picFile><BR><BR>"; <SELECT MULTIPLE SIZE=10 NAME=picsList ID=picsList> </SELECT> what my goal is to have the user select a file. Once they select the file and the file chooser box closes, I want to somehow add the name of the selected file to the 'picsList'. What my problem is once the file box closes I dont know how I can get access to the file information... any ideas? Quote Link to comment Share on other sites More sharing options...
phpQuestioner Posted January 7, 2008 Share Posted January 7, 2008 you want the "picFile" value added as a "picList" option? Quote Link to comment Share on other sites More sharing options...
adam84 Posted January 7, 2008 Author Share Posted January 7, 2008 ya i do, but I also want to store like the path of the file, file name, size, into an array Quote Link to comment Share on other sites More sharing options...
phpQuestioner Posted January 7, 2008 Share Posted January 7, 2008 you really need to do this with server side language; not javascript. you can get the filename and path, but the file size is harder to get accurately with javascript alone. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.