Possible Duplicate:
CSS selector case insensitive for attributes
The here below code checks if an attribute of a given class, starts with the value that the user has entered in a given input
var inputVariable = $('#myInput').val();
$('.class[attribute ^= '+inputValue+']')......
My problem is that the attribute “verification’ is case sensitive. I am looking for a solution to make it not case sensitive. Hope someone can help. Thank you in advance for your replies. Cheers. Marc
Use RegExp to compare the value of the attribute. See code: http://jsfiddle.net/djBsy/2/