Solved

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

Posted on 2011-09-19
3
297 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 500 total points
ID: 36559650
The local file path is protected by security measures and cannot be extracted in modern browsers.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

733 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