/    Sign up×
Community /Pin to ProfileBookmark

filter results by clicking a text link

I am in the middle of a project on my own website and want to add a filter on it, the results are displayed in a HTML table and are pulled in from a mysql database using php and want to add a text filter on the site. I want the filter to work by clicking on a status text link such as open, pending or closed and it filters the results that match that on the same page for that relevant text value. Is that something that can be done using javascript/ajax?

Is there any example of the code as been looking online but can’t find anything on how to do it

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@ianhaney10authorMar 16.2020 — Just found I can use dataTable for what I need and sort of got it working, can this thread be closed if possible please
Copy linkTweet thisAlerts:
@VITSUSAMar 16.2020 — Great, you got a solution :)
×

Success!

Help @ianhaney10 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...