Analysis of the reasons why Yii2 inline script loading fails when using Pjax in Yii2, yii2pjax_PHP tutorial

WBOY
Release: 2016-07-12 08:57:38
Original
933 people have browsed it

Analysis of the reasons why Yii2 inline script loading failed when using Pjax in Yii2, yii2pjax

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

Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!