Click here to Skip to main content
15,851,915 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

I have been working on a small single page application. I have search box which filters the table using JavaScript. But I do also have checkboxes which I want when I click to filter the table given using JavaScript only. I tried multiple ways but only results I get is whether to filter rows or selecting rows. Can anyone help me with this. Any example is fine for me just to demonstrate how it should work.


Example for what i need to do:
Imgur: The magic of the Internet[^]

What I have tried:

For example i did function similar:
function Docilck()
          var checkedValue = $('.Checkbox:checked').val();
           url: "@Url.Action("Index", "Home")",
           type: "post",
           dataType: "json",
                data: { checkstring: checkedValue },
                success: function (response) {

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900