通过action传过来的值在option获取进行验证的方法

时间:2013-11-14    点击:110   
通过action传过来的值在option获取进行验证的方法:
复制代码 代码如下:

for(var i=0;i<document.getElementById("ufacilityType").options.length;i++){
if(document.getElementById("ufacilityType").options[i].text==datas[0].facilityType){
document.getElementById("ufacilityType").options[i].selected=true;
break;
}
}
MyEclipse取消验证Js的两种方法
javascript unicode与GBK2312(中文)编码转换方法
javascript按位非运算符的使用方法
javascript Array.prototype.slice的使用示例
js取消单选按钮选中示例代码
> 返回     
地址:上海市普陀区胶州路941号长久商务中心 电话: QQ:
© Copyright 2012 上海网络 Product All Rights Reserved