Skip to content
Advertisement

How to reset filter in html table

To be brief, I‘m looking for a way to reset my filter made on jquery. This is my html for searching, input text + button submit:

JavaScript

Html table :

JavaScript

This is my jquery to filter an html table :
…………………………………… …………………………………… ……………………………………

JavaScript

Thank you

Advertisement

Answer

Simple, once the “reset” button is clicked, the value of the input will be changed to empty and starting the search will reset the filter.

JavaScript
JavaScript
Advertisement