I have a ddl in firefox that does not get reset to the default caption. How do I do this? This is what I have so far.
<%string ddlVal = ""%>
<select id="detailSelect" name="DetailSelect">
<option <%if (ddlVal == "") { Response.Write("selected = "selected""); } %> value="" >--Choose One--</option>
<option <%if (ddlVal == "Building") { Response.Write("selected = "selected""); } %> value="Building">Building</option>
<option <%if (ddlVal == "Contents") { Response.Write("selected = "selected""); } %> value="Contents">Contents</option>
</select>
On a refresh, the ddl is the what is being displayed before the refresh, and not the default ddl. How do I corect this?