Populating city Dropdown based on Country Selecting by using jQuery and Ajax. Step 1: Load the jquery library <script type="tex...
PHP Magic Function The " magic " methods are ones with special names, starting with two underscores, which denote methods which...
Final method: A final method is a method that cannot be overridden. To declare a method as final, you need to prefix the function name w...
The UNION set operator is used for combining data from two tables which have columns with the same datatype.When a UNION is performed the...
Searching with Ajax pagination Cakephp Step 1 : View File <script> $(document).ready(function(){ $(".pagination a, .he...
Cakephp Ajax Pagination Cakephp Ajax pagination works same like normal pagination , the difference is that it load the pages without refr...
Check All by jQuery Method 1: $(document).ready(function() { $('#selectAll').click(function(event) { if(this.chec...
1. Sort table first column by jQuery Create a function sortTable. Pass table id & order function sortTable(table, order) { ...
How to add Validation rule in jQuery validation Plugin 1. Load the validate plugins <script src="js/jquery.validate.js">...
Bootstrap panel accordion with icons HTML <div id="accordion" class="panel-group"> <div class="pane...
Implementation of Google analytics in cakephp. Create a element for it. app/views/elements/google-analytics.ctp : <?php $gaCode = Con...
If you want like this example.com/article/show-by-day.html example.com/article/slug-post.html Shows above url in route file like this ...
Basic usage First of all, you should ensure the class is loaded using App::uses(): App::uses('CakeEmail', 'Network/Email'...