<p class="w120">变更后IP:</p>
<div class="comBobox w200 f_l">
<html:select name="ITSM_J_EQUIPMENT_CHANGE/CHANGE_IP_INSTANCEID" style="width:100%" attributesText=" eos_isnull='false' eos_displayname='变更后IP'">
<html:option value="-1">请择...</html:option>
<html:options labelProperty="IpList[@type='ip']/entity/INSTANCENAME" property="IpList[@type='ip']/entity/INSTANCEID"></html:options>
</html:select>
</div>
 var changeIp = $('select[name="ITSM_J_EQUIPMENT_CHANGE/CHANGE_IP_INSTANCEID"]').find("option:selected").text();    //获取文本值
//alert(changeIp);
$('input[name="ITSM_J_EQUIPMENT_CHANGE/CHANGE_IP"]').val(changeIp);
上一篇:RUF MVC5 Repositories Framework Generator代码生成工具介绍和使用


下一篇:nodejs - 如何完全更新