• Hey all,

    I’m trying to write a little ajax for my site to allow a user to upload an image without having to reload the page.

    However, when I try to grab the file location (file = $('#image-for-upload').val();), the value that is grabbed in IE is C:\\fakepath\\{filename}, where as in FF it is just the file name that is grabbed.

    Is there a way, through AJAX, to get the full path so that I can get these files uploaded?

    Thanks.

  • The topic ‘Get the full file path for an upload’ is closed to new replies.