jQuery - change() function

The change event is raised when the value of an element is changed for all three types: input, textarea and select

Syntax:

$(selector).change()
Attach a function to the method change():

$(selector).change(function)
Example:

$("input").change(function(){
alert("Text has been modified.");
});
Execution:
jquery - change()