How to Search using jQuery ASP.Net?

What are some good resources for building a jQuery based JSON search/filter system?

  • My current web application is using jQuery's $.getJSON() to obviously return some data from my mysql db and then present it in html div form. I want to build (over time while learning) a somewhat robust (at least to me) client side filter/search system that can do things like filter based on categories, tags, input, check boxes,etc. (applying multiple filters at once). But also do things like pinning/favoriting objects to stay in result and/or compare independently. I am looking for any books, online tutorials, or similar existing plugins/open source code. Thanks!

  • Answer:

    http://www.datatables.net/ Explore this and you will get more help to add more filters (checkbox, radiobox, combo etc)

Naveed Ramzan at Quora Visit the source

Was this solution helpful to you?

Other answers

Well, if you know AJAX, it is too easy to make such a filter. And no plugins needed.Lets take an example:We have a table with our client names and some additional data: Now, if an admin want to search a specific criteria, where a client still have more than 2000$ as payment for our company, we create a drop list with multiple values. Then, we send the chosen value into PHP script, using AJAX call. We will take this value and add it into a search query, then, we send back results into AJAX, in a json array.Finally, we use $.each() inside success function of ajax to display all returned row, in the same page, using a function called append().If you want a live example, I have videos about it on youtube:And you can watch the full successful series on Udemy (more than 1200 students):https://www.udemy.com/ajax-calls-the-simplest-way/?couponCode=clientsideScroll down to section 8 and watch how to make advanced search filters.

Alex Mehdy

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.