How to search in a table?

How to search in a table?

danitrebudanitrebu Posts: 2Questions: 1Answers: 0

I can't find a way to implement the search bar on my website. I have tried using search(), fnFilter(), activating "searching":true, tons of examples found on the internet... and none seem to work for me. I need some help...

$('#myInput').on('keyup', function() {
            table.search($(this).val()).draw();
        })

also

table.fnFilter($(this).val());

This question has an accepted answers - jump to answer

Answers

This discussion has been closed.