lundi 8 octobre 2018

Event in checkbox by name

I have a list of checkboxes that I want to trigger a click or change event. But don't work. I'm trying this way.

$("input[name = 'checkItem']").on('change click' , function () {

        /// Do something with the changed element
});




Aucun commentaire:

Enregistrer un commentaire