Disons que j'ai ...tableaux HTML avec jQuery Filtrage
<form action="#">
<fieldset>
to:
<input type="text" name="search" value="" id="to" />
from:
<input type="text" name="search" value="" id="from" />
</fieldset>
</form>
<table border="1">
<tr class="headers">
<th class="bluedata"height="20px" valign="top">63rd St. & Malvern Av. Loop<BR/></th>
<th class="yellowdata"height="20px" valign="top">52nd St. & Lansdowne Av.<BR/></th>
<th class="bluedata"height="20px" valign="top">Lancaster & Girard Avs<BR/></th>
<th class="yellowdata"height="20px" valign="top">40th St. & Lancaster Av.<BR/></th>
<th class="bluedata"height="20px" valign="top">36th & Market Sts<BR/></th>
<th class="yellowdata"height="20px" valign="top">Juniper Station<BR/></th>
</tr>
<tr>
<td class="bluedata"height="20px" title="63rd St. & Malvern Av. Loop">
<table width="100%">
<tr>
<td>12:17am</td>
</tr>
<tr>
<td>12:17am</td>
</tr>
<tr>
<td>12:47am</td>
</tr>
</table>
</td>
<td class="yellowdata"height="20px" title="52nd St. & Lansdowne Av.">
<table width="100%">
<tr>
<td>12:17am</td>
</tr>
<tr>
<td>12:17am</td>
</tr>
<tr>
<td>12:47am</td>
</tr>
</table>
</td>
<td class="bluedata"height="20px" title="Lancaster & Girard Avs">
<table width="100%">
<tr>
<td>12:17am</td>
</tr>
<tr>
<td>12:17am</td>
</tr>
<tr>
<td>12:47am</td>
</tr>
</table>
</td>
<td class="yellowdata"height="20px" title="40th St. & Lancaster Av.">
<table width="100%">
<tr>
<td>12:17am</td>
</tr>
<tr>
<td>12:17am</td>
</tr>
<tr>
<td>12:47am</td>
</tr>
</table>
</td>
<td class="bluedata"height="20px" title="36th & Market Sts">
<table width="100%">
<tr>
<td>12:17am</td>
</tr>
<tr>
<td>12:17am</td>
</tr>
<tr>
<td>12:47am</td>
</tr>
</table>
</td>
<td class="bluedata"height="20px" title="Juniper Station">
<table width="100%">
<tr>
<td>12:17am</td>
</tr>
<tr>
<td>12:17am</td>
</tr>
<tr>
<td>12:47am</td>
</tr>
</table>
</td>
</tr>
</table>
maintenant en fonction de ce que les données sont tapé dans les champs de saisie, j'ai besoin du tableau SDT/tds pour afficher ou masquer. Donc si je tape 63rd dans la case "to", et genévrier dans la case "from", j'ai seulement besoin de ces deux trs/tds qui apparaissent dans cet ordre et aucun des autres.
Avez-vous essayé ceci en premier? ou voulez-vous que nous écrivions du code pour vous? –
Je ne suis pas ce jQuery savy, plus d'un gars C#. J'ai essayé de travailler avec et je n'ai pas le temps de tout faire, donc un exemple de code serait très apprécié. – balexander
voici le simplifié lié à votre poste http://stackoverflow.com/questions/21552714/filter-table-row-in-html – Karthikeyan