I have a Fancybox that opens a contact form from an iframe. Inside the iframe, i have a close button but it’s not working.
I have tryed both with $.fancybox.close(); and parent.jQuery.fancybox.close();
What am I doing wrong ?
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.
The problem is you are trying to execute parent windows js function with different host name ( its not allowed ).
Try access you site without
www.( this is because yourcontactbutton using fancy from url withoutwww.)