I have the code below. I tried using jquery to choose something to happen, but in the end, something that doesn't work for me or might be wrong.
$("#emailList option").click(function() {
alert("OMG");
});
<select id="emailList" multiple="multiple" name="emailList">
<option>abc@123.com</option>
</select>
can someone provide me with the correct way to select an item from my list?
hersh source
share