Site icon Puneet Sharma – Freelance Web Developer

How to detect search input clear event with jQuery

I use “keyup change search” in event listner like the following code below.

$("#filterCards").on('keyup change search', function() {

    // Do something...        

});
Exit mobile version