javascript get selected option value onchange

Post

javascript get selected option value onchangeargonne national laboratory conspiracy   |   what happened to shawn haygood

The jQuery behind getName: Mind that the return of this function is not the value of the easyui-searchbox, but the name of the #mm drop-down that was used as the menu parameter of the easyui-searchbox. By clicking Post Your Answer, you agree to our terms of service, privacy policy and cookie policy. jQuery ('#select_id').on ('change',handleSelectChange); or vanilla JS handler setting: var selector = document.getElementById ("select_id"); selector.onchange = handleSelectChange; // or selector.addEventListener ('change', handleSelectChange); And don't have to rewrite this for each select element you have. Should I include the MIT licence of a library which I use from a CDN? Which