Bug 80213

Summary: Dynamically changing input type to file not working
Product: WebKit Reporter: sheken <aureltrotebas>
Component: DOMAssignee: 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
Reported 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.
Attachments
Alexey Proskuryakov
Comment 1 2012-03-05 11:32:27 PST
*** This bug has been marked as a duplicate of bug 44881 ***
Note You need to log in before you can comment on or make changes to this bug.