I have an html list with some items loaded. I am able to get the select list object using the following code:
var list = document.getElementById('ddlReason');
but I need help with figuring out how to detect which value has been chosen from the list.