Opened 12 years ago
Closed 12 years ago
#7940 closed bug (wontfix)
$('aa').find('bb, cc') includes the wrong elements
Reported by: | korinthe | Owned by: | korinthe |
---|---|---|---|
Priority: | low | Milestone: | 1.next |
Component: | selector | Version: | 1.4.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
This is only superficially related to #6754. I am not talking about use of the selector() method at all.
$('aa').find('bb,cc') should find all the elements found by $('aa bb') plus those found by $('aa cc'). Instead it finds $('aa bb') plus $('cc'). Not so useful
Change History (2)
comment:1 Changed 12 years ago by
Component: | unfiled → selector |
---|---|
Owner: | set to korinthe |
Status: | new → pending |
comment:2 Changed 12 years ago by
Priority: | undecided → low |
---|---|
Resolution: | → wontfix |
Status: | pending → closed |
Thanks for submitting your ticket. We have reproduced a minimal test case of the code you're talking about here Live Test Case, but have determined that there is no documented case of .find() supporting two comma-separated strings. You are however able to use a sting string with as many comma-separated selector values as you wish as this should be more than adequate for most use cases.
Thanks for taking the time to contribute to the jQuery project! Please provide a reduced jsFiddle test case to help us assess your ticket!
Additionally, test against the latest jQuery release and the jQuery 0 GIT version to ensure the issue still exists. Be Excellent to eachother!