I am a newbie in cakephp framework. Basically I am following this guide http://book.cakephp.org/2.0/en/core-libraries/helpers/js.html to get up and running with jQuery in cakephp
But when I try to load
<?php echo $this->Html->script('jquery'); ?>
in default.ctp .. it is loaded in my view but in console I get an error
$ is not defined.
(The famous jQuery error :p)
But when I load it externally any jQuery file.. it seems to work fine. I want to make a plugin with no dependencies and use cakephp own jQuery
Am I doing something wrong ?
Please help