I have a form inside a fancybox.
The form is submitted with ajax.
Is it possible to close the fancybox from within the Rails controller?
And then redirect_to another webpage?
I am using Rails3.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Usually for this kind of thing, in your AJAX callback if you get the response you’re looking for, close the Fancybox with JS and redirect with JS. For example: