You can use .on() to bind a function to multiple events:
$('#element').on('click tap', function() {
...
});
Thanks to @bergie3000 for pointing to this
You can use .on() to bind a function to multiple events:
$('#element').on('click tap', function() {
...
});
Thanks to @bergie3000 for pointing to this