138
rated 0 times
[
140]
[
2]
/ answers: 1 / hits: 42778
/ 11 Years ago, sat, october 19, 2013, 12:00:00
I am doing the following using attribute contains selector $('[attribute*=value]')
<input name=man-news>
<input name=milkMan>
<script>
$( input[name*='man']).css(background-color:black);
</script>
This works for the 1st input but not the second input as Man has a capital M
How can I make $( input[name*='man'])
an case insensitive selector?
More From » jquery