:contains for multiple words
- by Emin
I am using the following jQuery
var etag='kate'
if (etag.length > 0) {
$('div').each(function () {
$(this).find('ul:not(:contains(' + etag + '))').hide();
$(this).find('ul:contains(' + etag + ')').show();
});
}?
towards the following HTML
<div id="2">…