いくつかのサニティ テストを行っているときに、次のchangeイベント バインディングが機能することに気付きました。
$("body").on("change","input", function(){console.log(1)})
イベントバインディングはしonませんが:
$("body").on("change","select", function(){console.log(1)})
この不一致の回避策や説明はありますか?
いくつかのサニティ テストを行っているときに、次のchangeイベント バインディングが機能することに気付きました。
$("body").on("change","input", function(){console.log(1)})
イベントバインディングはしonませんが:
$("body").on("change","select", function(){console.log(1)})
この不一致の回避策や説明はありますか?