We unfortunately find ourselves having to support our product in IE 6 because some of our largest users use it. One of them called today and told me tha开发者_高级运维t one of the dropdowns doesn't work when he clicks on it - it simply selects the first item.
I checked the markup and the entire contents of the select control are being sent:
<select onchange="SDateFilter_S('#ctlDateRange')" size="1" name="ctlDateRange" style="width:100px;">
<option selected="selected" value="0">
All Dates
</option><option value="1">
Within
</option><option value="2">
Before
</option><option value="3">
After
</option><option value="4">
Between
</option><option value="5">
Last
</option><option value="6">
Since
</option>
</select>
This is done in ASP .NET but I am fairly certain the issue isn't with ASP .NET as when I try it in my copy of IE 6, it works correctly.
Do you have any idea what would cause a dropdown list in some copies of IE 6 to effectively not work?
The client may have addins, settings, or policies that are interfering with the dropdown.
I would think that the problem lies in the onchange event for the dropdown as it seems unlikely that a normal dropdown would behave in that way. I would suggest going into a remote assistance session with the client if possible and checking their IE settings and compare them to your settings. Also check any other dropdowns to see if they have the same issue.
It appears this issue was caused because, under some unknown circumstances on some versions of IE 6, the fonts don't inherit as they should. When I force-set the fonts, the dropdowns started working as they should.
Does your onchange
event meddle with the selection? Does the function complete, or die on the way? That's where I would look.
精彩评论