change method of dropdown jquery code example
Example 1: jquery onchange input value
$("input").change(function(){
alert("The text has been changed.");
});
Example 2: dropdown option selection change event in jquery
$("select [name='element_name']").change(function(){
// condition goes here
});