Solved

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

Posted on 2011-09-19
3
298 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…

724 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