View Full Version : [INFOREQ] onchange event does not fire with input type=file
Try any
Ext.get('some_input').on('change',function(){
console.log('test');
});
handler is never invoked.
Thanks.
mitchellsimoens
21 Nov 2012, 2:57 PM
Can I get a full test case? Are you trying this on just a <input> or a component?
XASD
21 Nov 2012, 11:46 PM
As I can understand Ext.get() work on dom level,not component,so:
Ext.get(document.body)
.createChild({
tag:'input',
type:'file'
})
.on('change',function(){
console.log('test');
});
should work.
p.s.
browser's addEventListener('change',...) work as expected.
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.