rleij
3/16/2017 - 8:23 AM

Case insensitive :contains

Case insensitive :contains

    jQuery.expr[':'].containsNC =  function(elem, index, match) {
        return (elem.textContent || elem.innerText || jQuery(elem).text() || '').toLowerCase().indexOf((match[3] || '').toLowerCase()) >= 0;
    }