Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

186
Visualizações
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
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda