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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form not submitting in IE7

Status
Not open for further replies.

emozley

Technical User
Jan 14, 2003
769
GB
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>
 
Not sure what the onClick in the form is for... did you try taking that aout and using an onChange in your SELECT tag?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top