Hi,
I have a page that has a Formhelper form and it's submitted via ajax with
the $('formid').ajaxForm() function (http://malsup.com/jquery/form/). I was
wondering how I can get the controller to return the last insert id of the
submitted data to the current page so I can use javascript to put that id
into a hyperlink. What is a good way to do this?
--
View this message in context:
http://www.nabble.com/last-insert-id-return-after-ajax-form-submit-tp25963398p25963398.html
Sent from the CakePHP mailing list archive at Nabble.com.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---