Yii ClientScript Tutorials

Yii ClientScript Css, Js

CClientScript manages JavaScript and CSS stylesheets for views.CoreScriptregister New Css, Js FileMap Single ScriptMinimize Script FileDisable Js, CssInclude Js, Css Files Of Extensionsregister Style Coderegister Script codeCoreScriptregisterCoreScript method used to include the script files from core script library (From framework library) to application. So we can call the available files. Yii::app()->clientScript->registerCoreScript('jquery'); Yii::app()->clientScript->registerCoreScript('jquery.ui'); Yii::app()->clientScript->registerCoreScript('treeview'); register New Css, Js FileUsing registerCoreScript method, we can include the available files from framework. If we […]... Read More »