How to implement WePay payment in CakePHP? Here is an idea that how to implement the WePay in cakePHP less than 10 mins! Follow the given steps to implement WePay on your cakePHP app. Step 1: Create wepay.php file in /app/vendors/wepay.php <?php class WePay { /** * Version number – sent in user agent string […]
Read More…Category: cakePHP
Clear form fields after finishing ajax submit using Jquery
Use reset() method to clear form fields after submitting the form via ajax. $.ajax({ type:"POST", url:formUrl, data:formData, beforeSend:function(){ $(‘.status’).html(‘<b>Form is being submitted</b>’); }, success:function(data){ $(‘. status ‘).html(‘<b>Thank you!! We have received your form</b>’); }, complete:function(){ $(‘#form-id’).each(function(){ this.reset(); //Here form fields will be cleared. }); }});
Read More…CakePHP Auth component
Hello friends, If you have any doubt or want to learn authcomponent just watch this video.
Read More…