Wizzud,
Thank you for the great response...
$('ul.list a:contains(' + toMatch+ ')')
.each(function(){
});
fits what I am doing perfectly. I was so close in my attempts but
never could get the syntax exactly correct with contains. Your post
helped very much.
Thank you
On Dec 13, 2:5
As with anything else there are a number of ways of going about this,
and which one you use depends a lot on what you want to do with the
result.
One thing to point out with your $(this:contains(...)) example is that
'this' is usually an object variable and ':contains(...)' is a string
and you can
2 matches
Mail list logo