X
X
XenK2016-09-04 07:34:19
Yii
XenK, 2016-09-04 07:34:19

Loading content via PJAX in Yii2?

I want to make a part of the content updated through PJAX, in the layout I did this:

<?php Pjax::begin(); ?>
<?= $content ?>
<?php Pjax::end(); ?>

But this design does not work, how to implement such functionality correctly?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2016-09-04
@slo_nik

Good morning.
Hope this note helps you.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question