在Yii 1.0中注册客户端脚本
{Code}
Yii::app()->clientScript->registerScriptFile(Yii::app()->theme->baseUrl.'/js/jQuery.js'); Yii::app()->clientScript->registerCoreScript('jquery');
{Code}
Yii::app()->clientScript->registerScriptFile(Yii::app()->theme->baseUrl.'/js/jQuery.js'); Yii::app()->clientScript->registerCoreScript('jquery');
YiiLib 专注于: 专业Web开发教程和专业Web开发服务
Copyright © 2011 - 2024 YiiLib.com(YiiBlog.info) - Designed & Developed by Boy.Lee
留言