SyntaxFix
Write A Post
Hire A Developer
Questions
"Closing" the current iFrame is not possible but you can tell the parent to manipulate the dom and make it invisible.
In IFrame:
parent.closeIFrame();
In parent:
function closeIFrame(){ $('#youriframeid').remove(); }