Tenho uma tabela feita em HTML e JSP com alguns dados já formatado e gostaria que o campo input buscasse os dados nessa tabela.
Não liguem pra o estilo esse não é o foco.
<%@ page language=“java” contentType="text/html; charset=ISO-8859-1"
pageEncoding=“ISO-8859-1”%>
<table id="IdTabela1" class="classTabela1" border="1px solid black">
<thead>
<th colspan="4">
<input type="text" placeholder="Consultar" id="campoPesquisa">
</th>
<tr>
<th>Name</th>
<th>Idade</th>
<th>País</th>
<th>SHOLD</th>
</tr>
</thead>
<tbody>
<tr>
<td>Tiger Nixon</td>
<td>54</td>
<td>Edinburgh</td>
<td>BBC</td>
</tr>
<tr>
<td>Garrett Winters</td>
<td>25</td>
<td>Tokyo</td>
<td>AAD</td>
</tr>
</table>