How To Import Js File From Another Source

Hello everyone!

I need to include a java script from another site like this:

<script type="text/javascript" src=""></script>

How do I use the yii way to implement above code?

Thanks in advanced!


however, it’s no different than include manually for this particular one. since it’s some kind of dynamic content. no /assets/ created.

if it’s static js file from other site, it would be no differnt than your local copy. /assets/ copy created