Skip to main content

Posts

Showing posts with the label JQUERY

yii, best way to call jquery, js and css files

Yii, Best pratice to include jquery, js and css files : <?php Yii :: app () -> clientScript -> registerCoreScript ( 'jquery' ); ?> <?php Yii :: app () -> clientScript -> registerCssFile (Yii :: app () -> baseUrl . '/css/style.css' ); ?> <?php Yii :: app () -> clientScript -> registerScriptFile (Yii :: app () -> baseUrl . '/js/star_rating.js' ); ?>