Answer the question
In order to leave comments, you need to log in
Yii2, pjax: Why can pjax duplicate GET data?
$('.setperiod button' ).click(function(e){
e.preventDefault();
form = $(this ).parents('form');
$.pjax({
timeout: 1000,
container: '.pjx',
fragment: '#filter_container',
data: form.serialize()
});
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question