Thanks for your reply Greg. If I had to close the pop up , your solution might work. But I should not close the pop up on submit. That is why I want to do that in Ajax.
How can $load pick form which is not on the page. However I am able to display form. I need to know how to submit this form in ajax way.. Many thanks, Kiran On Thu, Oct 4, 2012 at 6:06 AM, Greg Skerman <gsker...@gmail.com> wrote: > 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. > > > -- *Thank you,* *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.