I don't recommend using jQuery.  Learn to use the AJAX helper to your
benefit.  Personally I am going to use Event Selectors and hand write
my AJAX this time around just so it is altogether now.

The scriptaculous library is very easy to use.  And yes it is hard to
wrap your brain around AJAX and how in the world it is working.

The easiest way to do a form in CakePHP is to make it work first in
HTML.  Then, change your submit to $ajax->submit().  That will send the
form via AJAX.  Then in the $options array for submit you put 'update'
=> 'dividyouwanttoupdate'.  What happens is after the form is submitted
you can use the RequestHandler to get isAJAX and redirect a successful
form to the action that makes the contents of the div you want to
update.  Really easy once you wrap your brain around it.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to