SitePoint Sponsor |
|
User Tag List
Results 1 to 2 of 2
-
Oct 27, 2008, 00:47 #1
- Join Date
- Sep 2008
- Posts
- 111
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
How to get File array in javascript
hi to all
i want to upload file through ajax but i have to pass the file array but when i m getting form filed value then input type return only image name not the complete array like in php
how i can get file array in javascript.
thanks
-
Oct 27, 2008, 09:46 #2
- Join Date
- Jul 2008
- Posts
- 5,757
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
That info is not available to javascript for security reasons. You could however, have javascript ask the webserver for the info, after the upload has completed of course.
Bookmarks