Home >Backend Development >PHP Tutorial >Analysis of the reasons why Yii2 inline script loading fails when using Pjax in Yii2, yii2pjax_PHP tutorial
An error occurred when I used defunkt/jquery-pjax to load Yii2’s ActiveForm , normally
The two js of ActiveForm should be loaded first, but the actual situation is
typeError:JQuery(...).yiiActiveForm is not a function.
This issue has been discussed and resolved in the github issues.
Pjax first executes the inline