click event on mobile device tap code example Example: jquery click or touch $(document).on('click touchstart', function () {