Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9224569
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T04:21:19+00:00 2026-06-18T04:21:19+00:00

Possible Duplicate: Is there a case insensitive jQuery :contains selector? I tried to look

  • 0

Possible Duplicate:
Is there a case insensitive jQuery :contains selector?

I tried to look everywhere online for a way to use the contains jQuery selector in a case-insensitive manner, but I couldn’t really find any that actually functioned with the latest version of jQuery.

Thank you so much in advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T04:21:21+00:00Added an answer on June 18, 2026 at 4:21 am

    Here’s a custom implementation:

    $.expr[':'].icontains = $.expr.createPseudo(function( text ) {
        text = text.toLowerCase();
        return function (el) {
            return ~$.text(el).toLowerCase().indexOf( text );
        }
    });
    

    Use it like this:

    $(':icontains(SoMeThInG)');
    

    Here’s the fiddle: http://jsfiddle.net/CTg86/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: Is there a CSS parent selector? CSS selector for “foo that contains
Possible Duplicate: Is there a way for a JQuery ajax success function to access
Possible Duplicate: Is there an alternative to string.Replace that is case-insensitive? I'm looking for
Possible Duplicate: Case insensitive std::string.find() I want to make use of the std::string::find() method
Possible Duplicate: Is there a good reason to use upper case for T-SQL keywords?
Possible Duplicate: Is there a way of drawing a caption box in matplotlib Is
Possible Duplicate: Is there any way to determine text direction from CultureInfo in asp.net?
Possible Duplicate: How can I have case insensitive URLS in Spring MVC with annotated
Possible Duplicate: is there any way to get common values between two arrays in
Possible Duplicate: Is there any way to know if the value of an argument

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.