Quantcast
Channel: Yii Framework Forum
Viewing all articles
Browse latest Browse all 18717

Register Script Using Defer And Async In Yii

$
0
0
Hi All,
I want to register my core script "jquery" using defer or async.
Is there any way to do that in yii as I am using
<?php Yii::app()->clientScript->registerCoreScript('jquery');?>


If I have to do that manually what is the way?

Also if I publish one js file as asset then also what to do?
I am not getting those answers, Please help me.

Thanks,
Maclein

Viewing all articles
Browse latest Browse all 18717

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>