You could add your own expression for it (tested on FF2/Mac):

jQuery.extend(jQuery.expr[':'], {
  containsIgnoreCase: "(a.textContent||a.innerText||jQuery
(a).text()||'').toLowerCase().indexOf((m[3]||'').toLowerCase())>=0"
});

Usage:

$('...:containsIgnoreCase("foo")');

Or you could use a filter that would work basically the same way.

--Erik


On 10/13/07, RichUncleSkeleton <[EMAIL PROTECTED]> wrote:
>
> The selector :contains(text) appears to be case sensitive (though
> there's no mention of this in the jQuery docs). Is there a case
> insensitive version?
>
>

Reply via email to