Sto provando a filtrare una tabella da un input alfabetico <select>
con jQuery.Tabella filtri da <select> input usando jQuery
Ho il nome e il cognome in due colonne della tabella e mi piacerebbe filtrare le righe con uno di questi.
ho impostato una selezione ingresso come così:
<select>
<option value="A">A</option>
<option value="B">B</option>
<option value="C">C</option>
...
</select>
e mi piacerebbe per filtrare questa tabella:
<tr>
<td>Joe</td>
<td>Schmoe</td>
<td>$2482.79</td>
<td>172.78.200.124</td>
<td>http://gmail.com</td>
</tr>
<tr>
<td>John</td>
<td>Doe</td>
<td>$2776.09</td>
<td>119.232.182.142</td>
<td>http://www.example.com</td>
</tr>
Come potrei fare per filtrare la tabella utilizzando jQuery?
filtrarli per nome? –