jquery - Multiple filtering -


i'd filter list of elements title attributes.

<img name="chrome_brillant" title="chrome brillant" src=#"> <img name="chrome_brillant" title="chrome red mat" src=#"> <img name="chrome_brillant" title="chrome jaune" src=#"> 

using search field (text input), can keywords in title attribute.

but find second item, "red chrome" input, , hide other items ?

thanks, jérémie.

$('img').filter(":contains('red'), :contains('chrome')") 

Comments

Popular posts from this blog

matlab - error with cyclic autocorrelation function -

django - (fields.E300) Field defines a relation with model 'AbstractEmailUser' which is either not installed, or is abstract -

c# - What is a good .Net RefEdit control to use with ExcelDna? -