Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

184
Views
Looking to filter table rows when people click on keywords within the table. (OnClick code to change the dropdown menu selection)

Currently, I have a table that filters with a dropdown menu full of keywords, using JavaScript.

I am hoping to make an OnClick event, where people can filter the table by clicking on keywords within the table itself. I hope that clicking on a keyword can automatically update the dropdown menu selection.

Here is a sample pen, which I tried to simplify. Excuse the mess! I haven't cleaned the code yet... : https://codepen.io/ra3ra3/pen/gOxwwaZ )

<tr>
<td>Place 1</td>
<td>Historical Societies<br>Museums</td>
<td>###-###-####</td>
<td>Street<br>City, State<br>Zip</td>
</tr>
<tr>
<td>Place 2</td>
<td>Collective Identity<br>Ethnicity<br>French</td>
<td>###-###-####</td>
<td>Street<br>City, State<br>Zip</td>
</tr>
<tr>

I am getting ready to try and code this from scratch, but I am hoping to find other templates that already do this, to speed up the process. Though, I can't find any...

Does anyone have any suggestions, or templates to share?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!