select option on click event

Examples might be simplified to improve reading and learning. How to use onClick() or onSelect() with option tag? I added onclick event to my select tag like in the following code -. Thanks. click_handler = function (e) { alert ('clicked on: ' + e.target.value); } $ ('#syn_list').click (click_handler); Works at least in Firefox 44. discord.js 180 Questions firebase 179 Questions Why my JS code is not working if I called my JS function inside PHP? The <select> element creates a drop-down menu on the rendered output. next.js 107 Questions Allow Line Breaking Without Affecting Kerning. It worked for me: UPDATE: A possible usecase could be the following: A user sends a html form and the values are inserted into a database. More info about Internet Explorer and Microsoft Edge. dom 152 Questions handler of the new selected item. Neither the onSelect() nor onClick() events are supported by the