dojo.connect(filesDijit, "onChange", changed);
where filesDijit is the name I gave the FileInput dijit (via the
data-dojo-id attribute) and changed is a simple function that displays an
alert message (to test it out).
I've tried all kinds of variations, but can't get it to work. The "onClick"
event works, however. This is very frustrating. Someone please help!
I'm currently using dojo v1.7.2.
--
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/dojox-form-FileInput-onChange-event-not-working-tp3787995p3787995.html
Sent from the Dojo Toolkit mailing list archive at Nabble.com.
________________________________________________________
Dojotoolkit: http://dojotoolkit.org
Reference Guide: http://dojotoolkit.org/reference-guide
API Documentation: http://dojotoolkit.org/api
Tutorials: http://dojotoolkit.org/documentation
Dojo-i...@mail.dojotoolkit.org
http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
require(['dojo/_base/connect',function(connect){
connect.connect(dojo.byId("XXXX"), "onclick", null, function(){
alert("xyz");
}
});
-----
Regards,
Swapnil :)
--
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/dojox-form-FileInput-onChange-event-not-working-tp3787995p3790377.html