SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot
    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

  2. #2
    SitePoint Wizard bronze trophy
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •