Bug 80213
Summary: | Dynamically changing input type to file not working | ||
---|---|---|---|
Product: | WebKit | Reporter: | sheken <aureltrotebas> |
Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Major | ||
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Mac (Intel) | ||
OS: | OS X 10.5 | ||
URL: | http://jsfiddle.net/GXHqb/1/ |
sheken
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.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
*** This bug has been marked as a duplicate of bug 44881 ***