I have a function that selects all <a> with href that contains sun:
jQuery('a[href*="sun"]').each(function(i, el) {
alert(el);
});
How to make it case insensitive (contains substring sUN or sun or SuN etc)?
Checked Case-insensitive attribute-value selector with Jquery but with no luck for this question.