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
2 answers
0 votes
What's the best way to include Javascript into views?
I'll admit that of the M-V-C pattern's component parts, the View part is my weakest link. Even with elements, helpers and the like, my code ends up being large blobs of hard to read pieces of flotsam and jetsam. One major culprit is...
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).
2 answers
0 votes
Jquery in Cake, calling method
Hello, i would like to ask, what is simplest way to use JQuery in cake?
I would like use JQuery in sense, send form data to any contoller and function and put result into DIV on page without page refresh.
Something like:
<script... 1 answer
0 votes
Standard ajax library
Well I read a lot, and now I have too much…
I need clarifying, and I hope I’m not only one.
Cake 1.2.6 standard ajax lib is prototype, and on this lib is based also ajax helper.
In some mailings/blogs I have read that this will be changed in further...