I can’t see JQuery working.
I imported it with
<?php Yii::app()->clientScript->registerCoreScript('jquery'); ?>
in the main.php layout file (to get JQuery working for all the pages) but nothing works.
I added a
to see if the problem was in my code, but nor a simple "alert" function works.
How can I work out it?
P.S. I tried to put the "alert" function out from the $(document).ready but nothing happened.