The simplest way to do this is to add a case insensitivity flag ‘i’ inside the regex part of the selector:
So instead of
$( "input[name*='man']")
You could do
$( "input[name*='man' i]")
JS fiddle: https://jsfiddle.net/uoxvwxd1/3/
More Related Contents:
- How can I know which radio button is selected via jQuery?
- How to get the children of the $(this) selector?
- Get selected text from a drop-down list (select box) using jQuery
- Assign click handlers in for loop
- How can I select an element by name with jQuery?
- How do I get jQuery to select elements with a . (period) in their ID?
- jQuery selectors on custom data attributes using HTML5
- How can I get selector from jQuery object
- Select all elements that have a specific CSS, using jQuery
- jQuery function to get all unique elements from an array?
- jQuery DOM changes not appearing in view source
- Testing if a checkbox is checked with jQuery
- jQuery : select all element with custom attribute [duplicate]
- Selecting multiple classes with jQuery
- How do you check if a selector matches something in jQuery? [duplicate]
- Not class selector in jQuery
- jQuery single selector vs .find()
- jQuery Selector + SVG Incompatible?
- Using jQuery to search a string of HTML
- jQuery find and replace string
- Store jquery selector in variable
- Is there a ‘has focus’ in JavaScript (or jQuery)?
- jQuery support “:invalid” selector
- In jQuery, is selecting by class or id faster than selecting by some other attribute?
- Getting the “match” object in a Custom Filter Selector in jQuery 1.8
- Combine two selectors with one jQuery object
- jQuery difference between :eq() and :nth-child()
- What is the new proper way to use a child selector with a context node in jQuery?
- jQuery selector to target any class name (of multiple present) starting with a prefix?
- Why do functional pseudos such as :not() and :has() allow quoted arguments?