Side navigation
#14672 closed bug (notabug)
Opened January 06, 2014 01:23AM UTC
Closed January 06, 2014 10:08PM UTC
Select Option Visible
Reported by: | davidcomtois@gmail.com | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.10.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Please see: http://jsfiddle.net/QxDLA/
Visible should count both items as they are not hidden
Attachments (0)
Change History (3)
Changed January 06, 2014 03:32PM UTC by comment:1
Changed January 06, 2014 05:28PM UTC by comment:2
Considering that select options are not really visible in the document until you click on the select box, IMO them not being selected is not an incorrect thing.
Changed January 06, 2014 10:08PM UTC by comment:3
resolution: | → notabug |
---|---|
status: | new → closed |
Discussed at the core meeting today, this is the docs issue: https://github.com/jquery/api.jquery.com/issues/409
Depending on the simplicity of a fix, I'd be perfectly happy calling this a limitation of the
:visible
selector and documenting that it's not supported.If you want to know which item is selected, there is a better way to do that. As for the second, unselected, item, it is not visible.