标签:
<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>
1 var changeIp = $(‘select[name="ITSM_J_EQUIPMENT_CHANGE/CHANGE_IP_INSTANCEID"]‘).find("option:selected").text(); //获取文本值 2 //alert(changeIp); 3 $(‘input[name="ITSM_J_EQUIPMENT_CHANGE/CHANGE_IP"]‘).val(changeIp);
标签:
原文地址:http://www.cnblogs.com/lanceblog/p/4864734.html