var mySelect = document.querySelector("#mySelect"); mySelect.value = "newvalue"; mySelect.dispatchEvent(new Event('change', { 'bubbles': true }));
var mySelect = document.querySelector("#mySelect"); mySelect.value = "newvalue"; mySelect.dispatchEvent(new Event('change', { 'bubbles': true }));