1.select下拉框标签
<s:select list="#{‘1‘:‘干渠大断面‘,‘2‘:‘直开口‘,‘3‘:‘支渠分水口‘}" label=" " name=""
id="sttype" headerKey="" headerValue="--请选择--" ></s:select>
通过js设置默认选中项:
Var sttype=document.getElementById(“sttype”);
sttype.selectedIndex=1;
时间: 2025-01-02 02:53:34