java 代码 [html:select property="puOrganization.orgId" value="${equp.puOrganization.orgId}" styleClass="formDetailSelect" style="width:236px" ] [logic:present name="orgAllList"] [html:options collection="orgAllList" labelProperty="orgName" property="orgId"/] [/logic:present] [/html:select] js脚本: java 代码 var org = document.getElementById("puOrganization.orgId"); var orgId = org.options[org.selectedIndex].value;