1 answer
0 votes
Ajax Pagination CakePHP 1.3
I am wondering how to specify you want ajax pagination in the CakePHP 1.3 core.
this is my current $paginator array which properly performs Ajax pagination on the 1.2 core. On the 1.3 it just creates a normal link.
$paginator->options(array(
... 2 answers
2 votes
Ajax Request
How do I know if a request was made from ajax or it was a normal web request?
I just wanted to block off the view, if it wasn't an ajax request.
2 answers
0 votes
Ajax function only works once after 2nd try it reloads page
How do i overcome this problem??
Tried googling but no avail anyone here can help me?
1 answer
0 votes
Ajax reload of an element from a call within the element itself
Hi,
I'm trying to do something that seems pretty trivial, but can't find the solution...
I have a comment element that displays comments and a form to add a new one.
How it's done right now: I pickup the form submit from jQuery, launch the function...
2 answers
-1 votes
Getting AJAX to work with CakePHP
Hey guys i've been trying to increase the user experience of an application of mine by adding AJAX but i can't seem to find a decent tutorial?
Can anyone help me find a good working tutorial that makes use of cakephp + ajax?
Thanks in advance
1 answer
1 vote
How to auto-populate dependent habtm select boxes using ajax...
I am new to CakePHP, and I am guessing that this has been answered before, but I have a question about auto-populating dependent select boxes.
I've been googling and looking for nearly a week, and I just can't seem to figure this out! I've come...
2 answers
0 votes
How can I output multiple times during an ajax request to show accurate progress on server?
I want to display accurate progress status of what is happening on the server during my ajax request in real time. How can I do that?
The view rendering happens all at once when everything done. How can I render a view multiple times during a...
1 answer
0 votes
ajax drop down habtm
Hi,
Does anyone know how to dynamically populate drop downs that use a HABTM relationship?
1 answer
0 votes
Ajax observeField.
Hey folks,
I'm seriously don't know what to do anymore.. so I thought I just ask for your help.
I've got a dropdown box, and want to update a div, when the value in the dropdown changes.
So here my code:
echo $form->create('Add');
echo... 0 answers
0 votes
Ajax editor onFailure usage
Hi,
I have a system that collects information using the Ajax Editor textboxes. It works fine unless the person lets the page sit for a while and their Auth session ends. They are logged out and don't know it, then try to use the boxes which appear...
1 answer
0 votes
[Résolu] Utilisation de $ajax
Bonjour,
J'essaye d'utiliser $ajax pour l'envoie de mon formulaire (un livre d'or).
echo $ajax->submit('Soumettre', array(
'url'=> array('controller'=>'messages', 'action'=>'add'),
'condition' => 'valider()',
'update' =>... 1 answer
0 votes
post data from Jquery to the cake's controller
I am using JQuery and Cakephp 1.2;
the problem is posting the data.
this is how m posting the data iterating over each fields in form.
$('input[type=submit]').click(function(bE) {
bE.preventDefault();
id = '#' +... 1 answer
0 votes
Ajax pagination using JSON data
Cake has default ajax pagination feature, but the output is in html which is not a good idea and huge amount of data transfer.
I want to use JSON to reduce data transfer. Is there any "ready-made" stuff for pagination using json (and jQuery).
1 answer
0 votes
Autocomplete/Ajax forms and security component
Hi,
I have some problems with AJAX and Security Component.
If I send the form completely it is OK.
If I send only one field (when the event: ObserveField is called) = blank result action not done
If I use autocomplete like this:
echo... 0 answers
-1 votes
Prototype.js Ajax submit is not working in Safari..
Ajax submit is not working in Safari
This is code:
$ajax->submit('Submit',array("class"=>"btnSaveForum")
);
Thanks
in advance
3 answers
0 votes
using ajax to update a field in a form
Hi,
How can i do this, it is possible? using cakephp + ajax
I have a price field, quantity field, and total value field.
I want to update the total field value with price*quantity after i write a quantity value.
I was going to do with the...
1 answer
0 votes
How To View Multiple Tables With Pagination On A Single Page
In CakePHP 1.2 we need to have a single page with multiple tables on it each with their own pagination. For example given People and Tasks controllers, we need to put up a page (as an action from either controller or from a 3rd controller) that...
0 answers
0 votes
How can I extend the onClick event with Ajax Helper?
I'm using the Ajax helper to submit a form from a popup window. The form is being submitted properly, but I would like the submit button to also close the popup window. I can close it with a call to Popup.hide(), where Popup is a Javascript...
1 answer
0 votes
Js->request wrong url formating
I'm learning how to use the new Js helper for an ajax task.
Here is my php code:
echo $this->Js->get('#all')->event('change', $this->Js->request(array('controller' => 'keywords' , 'action' => 'ajax'),$options));
and this is the generated...
1 answer
0 votes
dialogs
dialogs in application, actualy modal dialog
There are many Ajax dialogs solution. Mostly for a showing a pictures or video.
I’m not experienced Ajax programmer, so I need example, on wicht I can build upon.
wih Ajax helper I done a update of a div,...