zoukankan      html  css  js  c++  java
  • javascript 传递 '' 时出错 换成 '&' ok

    function changeid(){
    var id=document.id1.id11.value
    id8=id.split("&")
    var id1=id8[0]
    var id2=id8[1]
    alert(id1)
    alert(id2)
    }

    <select name="id11" onChange="changeid()" style="100px;">  
                   <%
                     set rs1=server.createobject("adodb.recordset")
                     rs1.open"select * from basic_Info where auto_id in(select distinct auto_id from basic_info where model='"&rs("model")&"')",check_conn,1,3
                     do while not rs1.eof
                   %>
                      <option value="<%=rs("auto_id")%>&<%=rs1("auto_id")%>"><%=rs1("Auto_Trim")%></option>
                      <%
                      rs1.movenext
                      loop
                      rs1.close
                      set rs1=nothing
                      %>
                   </select>

  • 相关阅读:
    IP fragmentation
    pci驱动
    cpu地址空间
    CentOS7 安装bazel
    kettle集群
    TextRankGloVe算法资料
    使用Kong Service负载均衡Load Balance功能
    自建ss服务器教程
    OpenSSL创建TLS/SSL证书
    监控告警
  • 原文地址:https://www.cnblogs.com/y0umer/p/3839532.html
Copyright © 2011-2022 走看看