I am some months old cakephp, and I've been working on some web app using cakephp 2.7.3. So far am doing okay but I need to integrate jquery into the app for some functionalities. I've spent weeks googling on and trying various ways to add and make jquery work in my app to avail. Kindly assist.
Just add this line to your View/Layouts/default.ctp
echo $this->Html->script('Url to your jQuery file');
And then youn can use jQuery in every view file like this:
<script>
$(document).ready(function(){
// Your code goes here
});
</script>