1👍
✅
If you use select options
and wrap them in a form with an id
. You can submit the form on the select element’s change event.
<form id="my_form">
<select onchange="submit_my_form()">
...
</select>
</form>
function submit_my_form(){
document.getElementById("my_form").submit();
}
Source:stackexchange.com