Steps to Generate XML file using CakePHP: Step-1 Enable to parse xml extension in config route.php file. Router::parseExtensions('...
Ajax Form Submission AngularJS AngularJS is an MVC JavaScript framework which elegantly separates controller, business and model logic ...
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...