bettina: Probleme mit onChange

Beitrag lesen

Hi

Danke, für den Link, vor ein paar Tagen hätte er mir echt weitergeholfen, leider wird da nur das Thema der Ausgabe behandelt, das funktioniert bei mir schon (also ohne Link), leider wird der Link nicht behandelt. Der Fehler wird wahrscheinlich hauptsächlich am option tag liegen, leider sehe ich ihn nicht, könntest Du mir nicht doch noch helfen, dann müsste ich Stefan falz nicht auch noch damit beschäftigen.

Wäre echt super
Grüße

strSQL = "SELECT Country, OPT from Country where Country not like ''"
 rs.open strSQL, conn, 3, 2
 do until rs.eof
Country = Country & "<option onchange=""" & location.href="countryinfo.asp?Country=rs("Country")" & """  value=""" & rs("Country")& """>" & rs("Country") & "  (" & rs("OPT") & ")"& " </option>"
 rs.movenext
 loop
 rs.close

if request("search") = "" then%>
            </font>
            <form action="search.asp" method="get">
              <input type="hidden" name="search" value="true">
              <table border="0" width="100%" bgcolor="#F8F8F8" cellspacing="1" cellpadding="3" bordercolor="#F8F8F8">
                <tr bgcolor="#F8F8F8" bordercolor="#F8F8F8">
                  <td colspan="4" height="10"> <b>Option Code<br>
                    <select name="OPT" style="width:100%; font-size: 10">
                      <option value="">ALL</option>
                      <%=OPT%>
                    </select>
                    </b> </td>
                </tr>
                <tr bgcolor="#F8F8F8" bordercolor="#F8F8F8">
                  <td colspan="3"><font face="Courier New, Courier, mono"></font>
                    <b>Country<br>
                    <select name="Country" style="width:100%; font-size: 10">
                      <option value="">ALL</option>
                      <%=Country%>
                    </select>