Questions tagged with jquery

2 answers

-1 votes

Asked by genji, on 20/12/09 in

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

Asked by davidwu, on 5/1/10 in

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

Asked by MetalJo, on 2/2/10 in

[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

Asked by kishorkundan, on 3/2/10 in

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

Asked by ABCoder, 1 month, 1 day ago in

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

Asked by blacksymmetry, 3 days, 3 hours ago in

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

Asked by jole, 8 hours, 10 minutes ago in

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...

<< previous next >>