我已经设置了几个事件触发器,用于在用户单击特定元素外部时关闭这些元素。这对非移动设备很有效,但在移动设备或平板电脑上不会触发。我猜想这是因为点击事件触发的方式不同于点击。// Listen for unique event targets if (!$(event.target).closest( '.mod
Cancel按钮需要有一个click/tap事件侦听器,用于取消表单提交并返回到应用程序上的上一页。这就是我定义事件侦听器的方式...$(cancel_button).on('click tap', function(event) // I assumed the following line woul