• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Close a fancybox or redirect to the parent page in the controller


I need help.
I use fancybox to modify a form.
After submission of the form and processing in the controller,
I would like to close the fancybox or simply display the parent page.

Someone has an idea how to do this.

Thank you for your answers.

Did you put your form in a iframe or just a div?
to close a fancybox, there's a fancybox function you can call.


if it's in a iframe, use


Reference: Fancybox API

it works :-)!

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.