The code below works great:
this.on('keypress', '[data-' + options.dataClass + ']', function () {
alert(1);
});
This also works for keydown, keyup, ... but the code below doesn't work
this.on('change', '[data-' + options.dataClass + ']', function () {
alert(1);
});
By the way the elements matching selector are input with type of text. what is wrong?
Edit: Demo