click event on two same id jquery 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);