vendredi 3 janvier 2020

In jQuery is there any method similar to on('click' for checkbox enabled event?

I have accending and descending sort icons for sorting purposes. On the initial loading, sorting is in an enabled condition I am in need of a solution similar to below:

$('.pgggo-container-ajax-sorting').on('click', '.pgggocheckboxdecendinp', function(event) {

say when the descend icon is clicked this function should run. But the above method is not working for a checkbox. Please help




Aucun commentaire:

Enregistrer un commentaire