Bug 80213 - Dynamically changing input type to file not working
Summary: Dynamically changing input type to file not working
Status: RESOLVED DUPLICATE of bug 44881
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac (Intel) OS X 10.5
: P2 Major
Assignee: Nobody
URL: http://jsfiddle.net/GXHqb/1/
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-03 06:30 PST by sheken
Modified: 2012-03-05 11:32 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sheken 2012-03-03 06:30:49 PST
Changing an input type attribute to "file" with Javascript does not work. The attribute is well changed in the dom three, but does not take effect.
When changing the attribute to file, and then trying to read it, it seems not to be a "file" type.
The url example attached shows it pretty well (using mootools, but definetly not a mootools bug as it works on other browsers)
Works for all other type value.
Comment 1 Alexey Proskuryakov 2012-03-05 11:32:27 PST

*** This bug has been marked as a duplicate of bug 44881 ***