Submit form from greybox window to main window
I'm using greybox and trying the following thing: I want to make a form inside the pop-up so when the users submit's it, the request goes to the main window and the pop-up closes.
I know the way to close the window is by using onclick="parent.parent.GB_hide()", but I really haven't been able to find a way to make the pop-up close and the data sent to the corresponding controller when the form is submitted.
I'm using Zend FW.
Thanks in advance, I开发者_StackOverflow中文版 really appreciate what this community does.
Just use this code given below at the end of the loop
parent.parent.GB_hide();
精彩评论