0
votes
1answer
18 views

How to Handle new line in cakePHP getting data from views

I am working on CakePHP, I am getting the data from the textarea to the controller and stored it into DB,Retriving the data from DB and showing on the view,It is Fine.I faced a Problem when i am ...
5
votes
1answer
44 views

How to Refresh element in Cakephp

Ex:Site Explanation: Two super admin SA1 SA2 Update button will apear on dashboard when they log into the admin side. Needed When SA1 click on Update Button it will take 15 minutes to ...
2
votes
4answers
2k views

Jquery and Cakephp, where to put the file / how to call it?

I'm confused by this as I can't find good documentation on how to do this, I have a jquery file called "index" located in my cakephp site folder at: /app/webroot/js/index.js I am trying to include ...
0
votes
1answer
141 views

CakePHP and Lightview JQuery Plugin: Increment View Count

I am using the following plugin in my webpage: http://www.nickstakenburg.com/projects/lightview/ The script works great in terms of displaying the photos and everything else it is supposed to do, ...
-3
votes
0answers
37 views

“ReferenceError: $ is not defined” in CakePHP 2.2 version

I am getting "ReferenceError: $ is not defined" error in my admin panel while using CakePHP 2.2 version due to this some of the validations, tiny mceditor etc are not working. I have used an admin ...
0
votes
1answer
48 views

bootstrap calendar javascript alert in cakephp

well, i am try to use this calendar in cakephp and it works. https://github.com/ahmontero/bootstrap-calendar I am a very new and never learn jquery before. ok now i wish to did some modification on ...
0
votes
0answers
25 views

Sortable dont save on the database

In my controller i have this code public function sort() { $this->set('images', $this->Image->find('all', array( 'order' => 'sort_order ASC', ) ...
1
vote
1answer
56 views

CakePHP JQuery AJAX response not showing in Firefox

There is a really really strange issue with my AJAX. Using Chrome, IE and Safari the following AJAX-call works perfectly in my development- and live-system: var request = $.ajax({ url: ...
0
votes
2answers
36 views

Change html tag with same dimensions

I have a long table with different entries, some of which are marked as "xxx". When the html code is generated, the row with the xxx looks like this(generated by a plugin): <td ...
4
votes
2answers
29 views

How to refresh element in cakephp using jquery

<div class="mytabelement"> <?php if($newstatus[0]['users']['status'] == 'complete'){ echo $this -> Form -> postLink(__('update'), array( ...
3
votes
1answer
26 views

How to disable postlink in cakephp using jquery?

This is my Postlink tag: <?php echo $this -> Form -> postLink(__('Update'), array( 'controller'=>'users','action' => 'update', ...
-3
votes
1answer
40 views

The best way to call a js from cakephp action [closed]

Suppose that a have one action to add an user very simple: $this->Model->save($this->request->data); And, after save the user, I want to make a notification with the Noty.js What's the ...
0
votes
2answers
656 views

Update DB with jQuery sortable ajax call in CakePHP

I'm trying to simply reorder the rows in a table with jQuery's sortable. I have the drag/drop working fine, my problem is with saving the new row order my ajax call, specifically with sending the data ...
1
vote
2answers
66 views

Javascript says undefined after reading json server error response sent by cakephp

Below is my AJAX Method which is able to connect to the server: $.ajax({ type: 'POST', url: $form.attr('action'), data: formData, dataType: 'json', ...
0
votes
1answer
44 views

CakePHP 2 Validation error with jQuery Autocomplete

I have a form with a jQuery autocomplete using the standard approach with a visible input field for the text and a hidden ID field for the - yes - the id to pass. To avoid invalid inputs I check the ...

1 2 3 4 5 37
15 30 50 per page