/    Sign up×
Community /Pin to ProfileBookmark

IE only: filename(path) is not preserved

Hi,

Please help.

In IE when i upload a file and hit the back button the file path is not preserved in the input box (<input type=file>) , but in Netscape its preserved.

Do i need to do something in here so that it will be opreserved in IE also. Or it is a browser property of IE.

Please help.
Thanks in advance.

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@AdamGundryAug 09.2004 — If that is IE's behaviour you probably can't change it. Scripts are not allowed to change the value of file select components for security reasons - if they could, a malicious website could copy any file from your computer when you visited it.

Adam
Copy linkTweet thisAlerts:
@jamsheedauthorAug 09.2004 — Adam,

Thanks for your help. Let me calrify this . I want to make sure is this IE behavior. because in netscape i put in a file path and post the form and go back using the back button, its preserved there. But in IE its seen blank when i go back.


Any ideas? Helppppp!!!!!!!
Copy linkTweet thisAlerts:
@AdamGundryAug 11.2004 — A quick test indicates this is the case in IE and Mozilla Firefox 0.9, so this appears to be normal behaviour. There is not much you can do about it.

Adam
×

Success!

Help @jamsheed spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...