Using Classic ASP and JS. How do I return multiple values from a multi select? The code below is only returning the first value selected.
in my .asp code
<select name="month_day" multiple="multiple" size="5" id="month_day_select">
onClick="document.useredit.schedule_details.value=getDetailValue();
in my .js code
function getDetailValue() {
var sel_index=document.useredit.month_day.selectedIndex;
s_detail=document.useredit_monthday.options[sel_index].value;
return s_detail;
}