jquery on change through jquery code example
Example 1: jquery on dom change
$("#someDiv").bind("DOMSubtreeModified", function() {
alert("tree changed");
});
Example 2: dropdown option selection change event in jquery
$("select [name='element_name']").change(function(){
// condition goes here
});