jquery, and $.load() will be your friend here.

You can just "load" the html view of the edit form into a div and show it.

not the only way to do it, but certainly the most straight forward. (then
just trap the submit, serialize the form, fire off a post in jquery and
close the popup, refresh the content)


On Thu, Oct 4, 2012 at 12:00 AM, Kiran <kiran00...@gmail.com> wrote:

> I have read other posts and searched google before posting this here.
>
> I have a jquery popup in a view where I intend to show EDIT form and then
> submit using ajax.
>
> Further Details
>
> There is a reservation controller. reservations on a particular date are
> shown in the index ctp in a table . When user clicks on edit button a div
> pops up. Now I need to show Edit form and submit it via Ajax.
>
> Please can somebody point me in the right direction , may be some help or
> some tutorial.
>
> Thanks in advance,
> Kiran
>
> --
> Like Us on FacekBook https://www.facebook.com/CakePHP
> Find us on Twitter http://twitter.com/CakePHP
>
> ---
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To post to this group, send email to cake-php@googlegroups.com.
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php?hl=en.
>
>
>

-- 
Like Us on FacekBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.


Reply via email to