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