Actually that only works in FireFox... IExplorer seems to be blocking this due to security reasons.
On Jul 16, 5:34 pm, "isharerides.com" <[EMAIL PROTECTED]> wrote: > Hi there, > > Just in case this helps you still, here is how I got this to work: > > $("#button2").click(function() { > parent.top.$.closeDOMWindow({ > closeNow:1 > }); > }); > > If you include this snippet into the site displayed in the iframe, you > can trigger the window to close by clicking on a button with the id > button2. > > Hope that helps! > > Phil