Skip to content Skip to sidebar Skip to footer

How To Make Search Work In Javascript In Laravel

I have a problem in how to make table search working in the javascript code. I have a different scenario. I am getting data through ajax So I need to add table thread in the javasc

Solution 1:

Working sample.

Try to use event delegation on() instead like :

var body = $('body');

body.on('click', '.filterable .btn-filter', function() {
    alert('----1');
});

body.on('input', '.filterable .filters input', function(e) {
    alert('----2');
});

Post a Comment for "How To Make Search Work In Javascript In Laravel"