Javascript 如何处理jQuery TouchWipe块中的链接点击

Javascript 如何处理jQuery TouchWipe块中的链接点击,javascript,jquery,touchswipe,Javascript,Jquery,Touchswipe,我有一个由jquerytouchwipe插件处理的链接块。当我点击移动设备上的单个链接时,它不会跟随存储在“href”属性中的url。我使用插件选项“点击”。基本上,它可以工作,例如使用alert()。但如何获得按钮点击的默认行为,只需跟随url container.swipe({ click: function(event, target) { $(target).click(); //nothing happen }, threshold: 75,

我有一个由jquerytouchwipe插件处理的链接块。当我点击移动设备上的单个链接时,它不会跟随存储在“href”属性中的url。我使用插件选项“点击”。基本上,它可以工作,例如使用alert()。但如何获得按钮点击的默认行为,只需跟随url

container.swipe({
    click: function(event, target) {
        $(target).click(); //nothing happen
    },
    threshold: 75,
    excludedElements: "button, input, select, textarea, .noSwipe",
});