jquery change only having val =to some thing code example
Example: jquery onchange input value
$("input").change(function(){
alert("The text has been changed.");
});
$("input").change(function(){
alert("The text has been changed.");
});