源码网商城,靠谱的源码在线交易网站 我的订单 购物车 帮助

源码网商城

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

  • 时间:2021-03-18 07:28 编辑: 来源: 阅读:
  • 扫一扫,手机访问
摘要:通过action传过来的值在option获取进行验证的方法
通过action传过来的值在option获取进行验证的方法:
[u]复制代码[/u] 代码如下:
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; } }
  • 全部评论(0)
联系客服
客服电话:
400-000-3129
微信版

扫一扫进微信版
返回顶部