change select option on through a function jquery code example
Example 1: dropdown option selection change event in jquery
$("select [name='element_name']").change(function(){
// condition goes here
});
Example 2: jQuery change select value
$("#mySelectElementID").val("my_new_value"); //change selected option/value with jQuery