evenement onChange sur dijit.form.ComboBox et dijit.form.DateTextBox en JS
Salut,
j'utilise le function dojo.connect pour connecter l'evenement onChange sur les input d'un contentPane recuperees par dojo.query...
pour les widgets dijit.form.TextBox ca marche par contre pour les widgets : dijit.form.ComboBox et dijit.form.DateTextBox ca marche pas !!
Code:
1 2 3 4 5 6 7 8 9 10 11
|
dojo.query("#"+contentArticle.id + " [name^= 'input']").
forEach(function(input){
console.log('input >>>>>:', input);
dojo.connect(
input,
'onchange',
maFonction()
);
},this); |
merci d'avance