Ticket #10224 (closed bug: duplicate)
wrong value for selector property on chained finds with comma in selector
|Reported by:||anonymous||Owned by:||anonymous|
If I do: var a = jQuery("table:first").find("tr").find('img,a')
I correctly get all the images and links in the rows of the first table.
However, the returned jQuery object has this as the value for its selector property:
console.log(a.selector); "table:first tr img,a"
which is just a concatenation and would not return the same thing at all:
jQuery("table:first tr img,a")
- Owner set to anonymous
- Status changed from new to pending
- Component changed from unfiled to selector
- Status changed from new to closed
- Resolution set to duplicate