For some reason the following works in IE6 but not IE7... any ideas why?
For some reason it is displaying "BWB" even though a) the form hasn't been submitted when the page first loads and b) when you do click the drop down the new value isn't submitted.
Thanks very much
Ed
<%
criteria=Request.Form("criteria")
Response.Write(criteria)
%>
<form method="post" action="test.asp" onClick="submit()">
<div id="Layer1" style="position:absolute; left:771px; top:124px; height:14px; z-index:26" class="text2">
<select class="text2" name="criteria">
<option value="BWB" <% If criteria="BWB" Then Response.Write("SELECTED") %>>BWB Diary</option>
<option value="Training" <% If criteria="Training" Then Response.Write("SELECTED") %>>Training Diary</option>
</select>
</div>
</form>
For some reason it is displaying "BWB" even though a) the form hasn't been submitted when the page first loads and b) when you do click the drop down the new value isn't submitted.
Thanks very much
Ed
<%
criteria=Request.Form("criteria")
Response.Write(criteria)
%>
<form method="post" action="test.asp" onClick="submit()">
<div id="Layer1" style="position:absolute; left:771px; top:124px; height:14px; z-index:26" class="text2">
<select class="text2" name="criteria">
<option value="BWB" <% If criteria="BWB" Then Response.Write("SELECTED") %>>BWB Diary</option>
<option value="Training" <% If criteria="Training" Then Response.Write("SELECTED") %>>Training Diary</option>
</select>
</div>
</form>