jQuery - change() 関数
change イベントは、次の 3 つの型すべてで要素の値が変更されたときに発生します。
input, textarea および
select.
Syntax:
$(selector).change()
メソッドに関数をアタッチします
change():
$(selector).change(function)
Example:
$("input").change(function(){
alert("テキストが変更されました。");
});
Execution: