Filter large amounts of data in a table w/ jQuery
- by Bry4n
I work for a transit agency and I have large amounts of data (mostly times), and I need a way to filter the data using two textboxes (To and From).
I found jQuery quick search, but it seems to only work with one textbox.
If anyone has any ideas via jQuery or some other client side library, that would be fantastic.
Ideal example:
To: [Textbox] From:[Textbox]
<table>
<tr>
<td>69th street</td><td>5:00pm</td><td>5:06pm</td><td>5:10pm</td><td>5:20pm</td>
</tr>
<tr>
<td>Millbourne</td><td>5:09pm</td><td>5:15pm</td><td>5:20pm</td><td>5:25pm</td>
</tr>
<tr>
<td>Spring Garden</td><td>6:00pm</td><td>6:15pm</td><td>6:20pm</td><td>6:25pm</td>
</tr>
</table>
So If I start typing in one of the stations in the To: textbox it either displays dynamically like the quick search or i have to press a button (either or) and then in the from: textbox. Lastly it shows me to: station and all its times on the left and the from: station and all its times on the right.