判断JQUERY是否已引入
if (typeof jQuery == 'undefined') { document.write('<script type="text/javascript" src="<?php echo Yii::app()->baseUrl.Yii::app()->params['dir']; ?>/statics/common/jquery/jquery.min.js">\x3C/script>'); }
if (typeof jQuery == 'undefined') { document.write('<script type="text/javascript" src="<?php echo Yii::app()->baseUrl.Yii::app()->params['dir']; ?>/statics/common/jquery/jquery.min.js">\x3C/script>'); }