Ticket #9245 (closed feature: wontfix)
An array as jQuery context argument
|Reported by:||silesianlordt||Owned by:||silesianlordt|
I think it should be possible to pass an array of DOM elements to jQuery() as context.
<div id="a"> <span class="book"> </div> <div id="b"> ... some html... </div> <div id="c"> <span class="book"> </div> <div id="d"> ... some html... </div>
var a = $('#a'), c = $('#c'); $('.book',[a,b]).hide();
I know there are different ways to do what I've done above. I want to show simple example.
- Owner set to silesianlordt
- Priority changed from undecided to low
- Status changed from new to pending
- Component changed from unfiled to core