I would find live element lists very useful. What is a live element list? Say i do $('tr'). This will select all of the <tr>s in the document at the time of calling. But what if i want to set that to a variable, and call the variable at different times? I would like something like this: $.liveList('tr'), which would return a live list.I don't know if this is technically possible/feasible, but jQuery has some code i know i never could have written, so just maybe. :)
I suppose a simple solution for now would be to do
- var TRs = function(){return $('tr')};
- TRS().css('color','green')
(My actual current use-case has a more complex selector. :P)