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!

drop down list won't stay "drop downed"

Status
Not open for further replies.

msstrang

Programmer
Sep 19, 2005
62
US
Hey,
Just noticed something fishy, looks like an IE7 issue because I don't see it on my other workstations that run earlier versions of IE.

My website has a drop down list, but when you try to select an item in the list using the mouse it "undrops". I can use the up/down keys to select the item I want. However, this is my company's website which is accessed by customers etc., so I need to fix this.

I looked into the CSS file, but couldn't find anything that stood out.

Here's the HTML snippet:
Code:
<dl>
<dt><label for="selCompanyName">Company Name:</label></dt>
<dd>
<select id="selCompanyName" name="compname">
<option value=""></option>
<option value="comp1">comp1</option>
<option value="comp2">comp2</option>
<option value="comp3">comp3</option>
</select>
</dd>
<dt>
<label for="txtCompPart">Competitor Part #</label></dt>
<dd><input type="text" name="partnumber" id="txtCompPart" /><input type="submit" class="submitButton" id="btnCompSearch" value="Go" /></dd>
</dl>

Anybody seen this before?
 
Doesn't ring any bells and there's nothing wrong with the posted html. The only thing that could be the problem is something stealing the focus when on the select list (another html element that has a higher z-index and hangs over the select box). Can you give us the link to the website so that we can see it for ourselves?

___________________________________________________________
[small]Do something about world cancer today: PACT[/small]
 
sure, it's
don't let it fool you.
sometimes the issue will not present itself until after an item has been selected from the list, once the user returns to the list to try and select another item the issue will happen..
 
It could be a javascript issue. I saw the problem occur in IE7 yet when I've disabled javascript via the IE7 Web Developer toolbar, the issue seems to have disappeared.


-------------------------------------------------------

Mark,
[URL unfurl="true"]http://aspnetlibrary.com[/url]
[URL unfurl="true"]http://mdssolutions.co.uk[/url] - Delivering professional ASP.NET solutions
[URL unfurl="true"]http://weblogs.asp.net/marksmith[/url]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top