Bookmark and Share

How to write a case insensitive filter or selector with jquery

The jquery below returns all href's which equals 'mylowercasestring' for any case.

var meta = $('a href').filter(function() {return this.name.toLowerCase().contains("mylowercasestring");});