?
Solved

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

Posted on 2011-09-19
3
Medium Priority
?
299 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 22

Accepted Solution

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

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

762 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