Home >PHP Framework >YII >The writing position of js code in yii framework

The writing position of js code in yii framework

王林
王林Original
2020-02-20 14:53:402732browse

The writing position of js code in yii framework

The js code writing position in the yii framework is as follows:

(Recommended tutorial: yii framework)

<?php $this->beginBlock(&#39;script&#39;); ?>
    <script>
       js
    </script>
<?php $this->endBlock(); ?>

More programming For related content, please visit the Introduction to Programming column on the php Chinese website!

The above is the detailed content of The writing position of js code in yii framework. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn