i use $form->end(); and it does submit trough ajax updater successfully.
see the code which is generated by ajax->form(); you will figure out that it just a normal new Ajax.Updater(). sometimes i meet my limitation when use ajax on cake, so i just write normal html and javascript on the view layer. ________________________________ From: Pyrite <[email protected]> To: CakePHP <[email protected]> Sent: Friday, January 23, 2009 6:47:09 AM Subject: Closing $ajax->form() How do you put the close tag in a form created by $ajax->form() ?? Why is there not an $ajax->formEnd() similar to the FormHelper's $form->end () ? Also, when I create a form with $ajax->form(), and I add a submit with $ajax->submit(), it does not submit the form. A usage example would be great. I can only get it to submit the form if I use $form->end ('Submit') instead of $ajax->submit(). --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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?hl=en -~----------~----~----~----~------~----~------~--~---
