<html:select property="item.cstCustomer.custNo" onchange="setLabel(this.value,'item.svrCustName');">
<html:option value="0">--请选择客户--</html:option>
<html:optionsCollection name="CUSTOMERS" label="custName" value="custNo" />
</html:select>
如何用js把label属性的值取出?
<html:option value="0">--请选择客户--</html:option>
<html:optionsCollection name="CUSTOMERS" label="custName" value="custNo" />
</html:select>
如何用js把label属性的值取出?
this.options[this.selectedIndex].value和.text