Solved

How to retain Input type File value after submitting the form through AJAX

Posted on 2011-09-19
3
294 Views
Last Modified: 2012-06-21
I have a requirement where I need to retain the uploaded file path in the input type file tag after uploading the file to the server


Thanks,
Sandeep
0
Comment
Question by:deepuinfy
3 Comments
 
LVL 13

Expert Comment

by:stergium
ID: 36559480
hello.
you could store the path into a variable .  
can you paste some of your code so we can be more specific?
0
 

Author Comment

by:deepuinfy
ID: 36559612
Hi stergium,
I know that we can store the path into some variable, but my question is how to prepopulate the value stored back into input file field..

Thanks,
Sandeep
0
 
LVL 21

Accepted Solution

by:
Kim Walker earned 500 total points
ID: 36559650
The local file path is protected by security measures and cannot be extracted in modern browsers.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
This article discusses how to create an extensible mechanism for linked drop downs.
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now