selector-speed

Is there any way to speed up this solution for a case-insensitive jQuery :contains selector?

I found this solution for a case-insensitive jQuery :contains selector on StackOverflow. It works great, however it comes at the cost of performance. Does anyone else find this solution to be a bit slow? I'm using the :contains selector to search a table. The user types a search string into a textbox. For each keystroke, it searches the...

Client-Side Table Filtering

As the title states. I'm using jQuery to do the magic. I've used a custom Contains extension to the selectors as follows: jQuery.expr[':'].Contains = function(a, i, m) { return jQuery(a).text().toUpperCase().indexOf(m[3].toUpperCase()) >= 0; }; which I found on the interwebs. It works fine. I'm using it in conjunction with the ...