I use Contact Form 7 …. and under advanced settings I can put javascript call to do whatever I want after the submit button was successfully executed ….
So how can I close fancybox when my form was submitted.
Hi Kris, the call that is needed to close fancybox is jQuery.fancybox.close();
Or, if the light box content was embedded in iFrame mode then use parent.jQuery.fancybox.close(); but I suppose that you are using Inline Content mode for the contact form.