Return to Snippet

Revision: 41455
at February 18, 2011 09:07 by crypticsoft


Initial Code
$.expr[":"].containsNoCase = function(el, i, m) {

    var search = m[3];

    if (!search) return false;

    return eval("/" + search + "/i").test($(el).text());

};

Initial URL
http://isotope.metafizzy.co/demos/infinite-scroll.html

Initial Description
credit: http://www.west-wind.com/weblog/posts/519980.aspx

Initial Title
:containsNoCase custom filter

Initial Tags
filter

Initial Language
jQuery