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

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
deepuinfyAsked:
Who is Participating?
 
Kim WalkerConnect With a Mentor Web Programmer/TechnicianCommented:
The local file path is protected by security measures and cannot be extracted in modern browsers.
0
 
stergiumCommented:
hello.
you could store the path into a variable .  
can you paste some of your code so we can be more specific?
0
 
deepuinfyAuthor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.