All Questions
1,587
questions
1
vote
0
answers
42
views
Filter a wordpress table with JS?
I'm building my own WP theme and I try to avoid JS in Wordpress like the plague because it's hieroglyphics for me... And I still haven't found a resource to learn correctly in a WP environment.... ...
1
vote
2
answers
43
views
How can I filter from several params in data-id
I'm trying to make filter from several divs:
<div class="sgmt" data-id="orange, apple">First one</div>
<div class="sgmt" data-id="onion, apple"&...
0
votes
0
answers
28
views
jQuery filter results with checkboxes
I have the below code for a simple checkbox filter. It works well if all conditions are met with the checkboxes, i.e. Monday or Tuesday are checked. But checking both Monday and Tuesday gives no ...
0
votes
1
answer
28
views
How to retrieve a number of results with the filter function
Good morning,
I use the following code to sort a list from an html table.
$("#myInput").on("keyup", function() {
var value = $(this).val().toLowerCase();
$("#MySearch ...
0
votes
1
answer
40
views
How can I show an alert if the jQuery filter method cannot find the result
I have a jQuery problem with showing an alert if the result cannot be found with a filter method.
#search is a text input field for searching. This code could show the HTML element contains the value ...
0
votes
1
answer
102
views
SharePoint Online Filter By URL
I am working with the SharePoint API and trying to filter search results based on specific URLs. Currently, I have the following search query:
http://www.test.com/_api/search/query?querytext=%27Hello%...
0
votes
0
answers
86
views
Filtering content with buttons, but when all are active and one is clicked again, it only shows that result
everyone. As the title suggests, I'm trying to use buttons to filter my pricing tables, which is working, but when all buttons are clicked/active (minus the clear button, which shows all the content ...
0
votes
1
answer
56
views
Why isn't the grid gallery Multi-filter not working?
The two main problems is that the subcategories are not being shown and the filtering of the images according to the classes is not working as well.
I was expecting to fiilter the images as follows:...
3
votes
2
answers
134
views
Combining search and checkbox javascript filter on table
I have a search filter and checkbox filter on an html table that are both working well, but they work independently. I would like to be able to check a category, and then use the search box within ...
0
votes
0
answers
11
views
Tablesorter load corresponding data via filter
I am using dropdown-filters in two of my colums and I would love it, if one made a choice in either of the columns, to only show the corresponding elements in the other column or if the not ...
0
votes
1
answer
28
views
External tablesorter filter: load two datasets
I have two seperate Questions for the mottie tablesorter script:
I have created external buttons to filter the table beforehand. When you click, the data in question is loaded.
However, each time you ...
1
vote
1
answer
49
views
Ajax Filters are not updating on first load based on url parameters
add_action( 'wp_ajax_nopriv_filter', 'team_filter_ajax' );
add_action( 'wp_ajax_filter', 'team_filter_ajax' );
function team_filter_ajax() {
$category = isset( $_POST['category'] ) ? ...
-1
votes
1
answer
41
views
Issue adding counter to filter function in jquery
The problem is the counter multipleitems. At this time, this variable is counting all td in the pages, instead of counting only the td that has text inside greater than 1, but the filter to add the ....
-1
votes
1
answer
44
views
jQuery filtering divs based on multiple data attributes
I have multiple divs on a page, each with the following data attributes: data-one, data-two, data-three, data-four & data-five. The following code is creating a filterList array like so: ['one-...
0
votes
1
answer
40
views
Unwanted characters in DataTable filter options - JS JQuery
Could someone assist me in resolving this issue with the DataTable? I'm trying to filter rows by a column value and struggling to find a way to remove the "> characters that appear.
var a = $(&...