select id="initiatorId" name="initiatorId">
<#if initiatorId == ‘-1‘ || initiatorId == ‘‘>
<option value="-1" selected = "selected">全部</option>
<#else>
<option value="-1">全部</option>
</#if>
<#if initiatorList?exists && initiatorList??>
<#list initiatorList as initiatorList>
<option value="${initiatorList.initiatorId}" <#if "${initiatorList.initiatorId}"==initiatorId>selected="selected"</#if>>${initiatorList.initiatorName} </option>
</#list>
</#if>
</select>
传值给后台
var initiatorId = $(‘#initiatorId‘).val();
var initiatorName = $("#initiatorId option:selected").text();
$(‘#initiatorName‘).val(initiatorName);