jquery click and change event together code example
Example 1: jquery trigger change event
$(selector).trigger("change");
Example 2: value change event jquery
$("#input").change(function(){
alert("The text has been changed.");
});
$(selector).trigger("change");
$("#input").change(function(){
alert("The text has been changed.");
});