Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

yii2 jquery head

// Configure the jquery in the component section of your main.php or main-local.php
'components' => [
    'assetManager' => [
        'bundles' => [
            'yiiwebJqueryAsset' => [
                'jsOptions' => [ 'position' => yiiwebView::POS_HEAD ],
            ],
        ],
    ],
],
 
PREVIOUS NEXT
Tagged: #jquery #head
ADD COMMENT
Topic
Name
8+8 =