Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Andrzejek on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Code does not run in Microsoft Edge - it does in Google Chrome

leifoet

Technical User
Jan 31, 2016
206
BE
Using ASP Classic application code on Windows server.
Problem:
A drop-down list field filled with records from an Access database and with the following code

<select NAME="ActId" style="font-size: 12px;width:600px;">
<%
rs.MoveFirst
Do While Not rs.EOF
%>

<%If rs("var_datedif")<0 Then 'verleden%>
<option style="font-family: Arial, Helvetica, sans-serif;color:#000000;" value="<%=rs("ActId")%>"><%=rs("Actcat")&" "&rs("ActDatum")&" : "&rs("NrSV")&" "&rs("Actomschrijving")&" - "%>
<%=rs("lokaal")&" - "&rs("spreker")&" : "&rs("onderwerp")%></p></option>

<%ElseIf rs("var_datedif")=0 AND tel_sel_val=0 then%>
<option style="font-family: Arial, Helvetica, sans-serif;color:#0000FF;" selected value="<%=rs("ActId")%>"><%=rs("Actcat")&" "&rs("ActDatum")&" : "&rs("NrSV")&" "&rs("Actomschrijving")&" - "%>
<%=rs("lokaal")&" - "&rs("spreker")&" : "&rs("onderwerp")%>
<%tel_sel_val=1%></p></option>

<%ElseIf rs("var_datedif")>0 AND tel_sel_val=0 then 'toekomst%>
<option style="font-family: Arial, Helvetica, sans-serif;color:#0000FF;" selected value="<%=rs("ActId")%>"><%=rs("Actcat")&" "&rs("ActDatum")&" : "&rs("NrSV")&" "&rs("Actomschrijving")&" - "%>
<%=rs("lokaal")&" - "&rs("spreker")&" : "&rs("onderwerp")%>
<%tel_sel_val=1%></p></option>

<%ElseIf rs("var_datedif")>0 AND tel_sel_val=1 then 'toekomst%>
<option style="font-family: Arial, Helvetica, sans-serif;color:#0000FF;" value="<%=rs("ActId")%>"><%=rs("Actcat")&" "&rs("ActDatum")&" : "&rs("NrSV")&" "&rs("Actomschrijving")&" - "%>
<%=rs("lokaal")&" - "&rs("spreker")&" : "&rs("onderwerp")%></p></option>


<%end if%>

<%
rs.MoveNext
Loop
%>
</select>

has suddenly stopped working in the Microsoft Edge browser for about 15 days - in this browser it shows all the choice records below each other without the possibility to select.

In Google Chrome or Safari there is no problem and the program runs as before.
Does anyone know what the cause / solution could be.
Thanks for the tips.
 
Logout of any account used to access that page and clear cookies and site data for that site in both web browsers. Then retest.
 
No change in drop down menu - selection still not possible.
Thanks for tips.
 
Display drop down list in browser Microsoft Edge :
Record 1 appears good IN the drop down list selection bar and is selectable
But all other records (1, 2 , 3 ...) appear BELOW the selection bar and are not selectable
Record 2
Record 3
...
Same program : NO problem in browser Google Chrome

What could be the reason for an incorrect display in browsers Microsoft Edge ?
Solvable?

 

Part and Inventory Search

Sponsor

Back
Top