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 7873655
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T02:34:43+00:00 2026-06-03T02:34:43+00:00

I am making the front end of a asp.net mvc3 web application. A controller

  • 0

I am making the front end of a asp.net mvc3 web application. A controller action sends a database driven list to a view model which then populates a series of divs. I have a filtering section above the div list. I am not sure which approach to take to implement the filter. I have considered rolling my own (I always keep this option on the table), using jQuery’s .filter(), or finding some JavaScript functionality to use.

What is the standard way to filter client side with JavaScript (or a js derived library)?

EDIT

For gdoron’s lack of context:

js

var gdoronArray = [];
for(var i = 0; i < 10000; i++){
 gdoronArray.push("text" + i + " " + (i*10));
}

Is there a standard library to pull only the items in gdoronArray which contain “ext5” or is this just a roll your own situation?

  • 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-03T02:34:45+00:00Added an answer on June 3, 2026 at 2:34 am
    gdoronArray.filter( function(v){
        return !!~v.indexOf("ext5");
    });
    

    https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/filter

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

Sidebar

Related Questions

I am currently making an ASP.Net and C# page, which is a front end
We have a web app with a Flex front end making requests to our
I'm currently making a front end to display license information for my companies software
I'm a largely self-taught front-end developer only just making the transition into back-end development
I'm making a small PHP MVC framework for fun. I'm using a front controller
I'm making a traffic logging front end which allows displaying information on a specific
We have two separate systems communicating via a web service. Call them front-end and
I'm making a web based project management application using MySQL and PHP that uses
Recently, i've got interested in making a front-end for command-line program. I guess there's
I am in the process of making a Javascript(Front end, PHP back end) game.

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.