create a dropdown when select change its value in javascript code example
Example: jQuery change select value
$("#mySelectElementID").val("my_new_value"); //change selected option/value with jQuery
$("#mySelectElementID").val("my_new_value"); //change selected option/value with jQuery