How to create a search filter for html table?

Asked

Viewed 1,976 times

0

How do I create an approximate search in a table with pagination? The search I was using did not filter the data on the other page, just the one on the current page. I need a code to do this, please.

JS function A função JS Table Tabela

  • Data is in an array?

  • 2

    To do this you would have to do a global search in the data source, since there is no way to access via Javascript the HTML of the other pages without consulting the server.

1 answer

-1

  • Really, it’s something very good, but I wanted the JS function just to complement the table and the logic I already have. Thank you very much.

  • Can you put logic to the question? To take a look. Thanks! @Guilhermehenrique

Browser other questions tagged

You are not signed in. Login or sign up in order to post.