How do I use javascript or jQuery to close an iframe within iframe itself? I’ve tried <a href="javascript:self.close()"> but it didn’t work.
How do I use javascript or jQuery to close an iframe within iframe itself?
Share
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.
“Closing” the current iFrame is not possible but you can tell the parent to manipulate the dom and make it invisible.
In IFrame:
In parent: