Could anyone explain what are the results of defining event handlers with same signature e.g.:
// event handler 1
$('form.custom select[data-customforms!=disabled]').on('change', function() {
console.log('1');
});
// event handler 2
$('form.custom select[data-customforms!=disabled]').on('change', function() {
console.log('2');
});
Is it a bad practice? What is the order of execution? Is there any browser specific behavior related to this? Could event handlers in Javascript be extended?