誰かが同じ署名でイベントハンドラーを定義した結果は何であるかを説明できますか?例:
// 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');
});
それは悪い習慣ですか?実行の順序は何ですか?これに関連するブラウザ固有の動作はありますか?Javascriptのイベントハンドラーを拡張できますか?