通过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;
}
}
最后
以上就是细腻冥王星最近收集整理的关于通过action传过来的值在option获取进行验证的方法的全部内容,更多相关通过action传过来内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复