Category: Javascript

jQuery validation and CakePHP not working together

I want to use jquery validation and CakePHP together.<?= $this->Form->create($email, ['url' => ['action' => 'newEmail']]); ?> <?= $this->Form->input('email', ['required' =&

#jquery
1 Answers

Category: Javascript

Javascript extract rows with conditions from a JSON

I have a json that generated from a cakephp api, like:[   {     "_id": "57fcaf7173e3f772d54e991f",     "isActive": true,     "balance": "2,095.68",    

#json #extract
0 Answers

Category: Javascript

CakePHP 3 how to AJAX submit form post data to API?

I have an email subscribe form on homepage, and I may like to use AJAX submit form data to an API endpoint instead of http post redirect. I have write a new action ApiController/userSubscribe():public

#ajax
1 Answers