![]() Simple indexOf search var $rows = $('#table tr') If anyone could point me in the right direction it would be brilliant. Is there a simple solution to this? Or a plugin? While I know how to remove a table row in jQuery, I have little idea about how to go about doing the search and removing rows selectively based on this. I hope this is clear.Īnd, should the user delete some or all of their query from the text box, I should like all of the rows that now match the query to reappear. If they carried on and typed Green Gr the Apple row should disapear, leaving just grapes. So, if they type Gre for example, the Orange row of the table would disapear, leaving the Apple and Grapes. ![]() Like so: Ībove this I have a text box, which I would like to search the table as a user types. I have a standard HTML table, containing, say, fruit. I've been Googling and searching Stack Overflow for a while, but I just can't get around this problem.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |