Hi,
You are use facebox jquery this is very nice
On Wednesday, October 3, 2012 10:00:22 AM UTC-4, Kiran 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
You can find solution inside code down here, just read it carefuly. I used
fancybox, but easily you can use some other functions from jquery. I
recommend you fancybox for this kind of action.
div class=add-feedback
a class=rize-feedback buttonb href=#feedback-form-div?php __('Submit
feedback');
Thank you very much Ivan,
I got an Idea now. I tried similarly but couldnt get it worked and thought
that was not the right way. It is clear now. I will try this and post my
results here.
Cheers,
Kiran
On Thu, Oct 4, 2012 at 11:46 AM, Ivan Rimac ivn...@gmail.com wrote:
You can find solution
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
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
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