So I've got this:

var word = "blah";
var elements = $$('.elements');
var filteredElements = elements.filter(':contains("'+word+'")');

That looks inside the text of the thing, is there a way to have it
look at the title of the elements instead?

Here's some fake code to maybe get a better idea of what I'm looking
for:

var filtereElements = elements.filter('[title:contains("'+word+")]');

Reply via email to