0
一些非常簡單的代碼:event.preventDefault()不適用於jQuery移動?
$(document).on('pagebeforeshow', '#promotional-page', function(){
$(".win-anchor").on('vmousedown', function(event){
event.preventDefault();
});
});
爲什麼它仍然重定向到鏈接的頁面?
你確定它是'vmousedown'事件是否正在解僱?可能還有另外一個事件你也需要預防。 –
'pagebeforeshow'你用'pageinit'試過了嗎? – Jai