add 2 events to button jquery code example
Example 1: how to add the click event into two element in jquery
$('.class1, .class2').on('click', some_function);
Example 2: how to add the click event into two element in jquery
$('.class1').add('.class2').on('click', some_function);