jQuery 1.3 - Case Insensitive :contains()

Published 4 March 9 8:24 AM | EricPhan.Info - Take a dip in the deep end
Ran into a bit of an issue today when I upgraded the jQuery on a website I was working on to the new 1.3.2 version . I got the following error: Object doesn't support this property or method. There is a fix for this. You will need to update your jQuery extension code to the following: $.extend($.expr[":"], { "containsNC": function(elem, i, match, array) { return (elem.textContent || elem.innerText || "").toLowerCase ().indexOf((match[3] || "").toLowerCase Read More...

Read the complete post at http://ericphan.info/development/jquery-1-3-case-insensitive-contains/

Filed under: