pjax icon indicating copy to clipboard operation
pjax copied to clipboard

event.preventDefault()无效果

Open juvenrui opened this issue 9 years ago • 0 comments

如题,jQuery用的是2.1.3版本的。试了多次,在pjax.xhr = $.ajax(pjax.options);这里就开始preventDefault无效果了。请教下这个如何解决?

option设置基本就是用的默认的: $.pjax({ selector: 'a[data-pjax]', container: '#pjax-container', show: 'fade', cache: false, storage: false, titleSuffix: '', filter: function(){}, callback: function(){} });

juvenrui avatar May 12 '15 13:05 juvenrui