sorry for bad English.How to get value of an select box if user change a select box or just hover on select box with a single event. i have tried this one but its not working
jQuery("select[name*=super_attribute]").on('change , hover', function(){
alert('trigger');
});
I know we can do like this make separate functions
jQuery("select[name*=super_attribute]").on('change', function(){
alert('trigger');
});
And
jQuery("select[name*=super_attribute]").on('hover', function(){
alert('trigger');
});
But i want to do with a single event not separately because i will do same functionality in both cases.