Answers for "jquery 2 on click"

10

jquery on 2 events

$('#element').on('keyup keypress blur change', function(e) {
    // e.type is the type of event fired
});
Posted by: Guest on December-29-2020
0

how to add the click event into two element in jquery

$('.class1').add('.class2').on('click', some_function);
Posted by: Guest on January-29-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language