If I open a dialog like so:
$('<iframe id="externalSite" class="externalSite" src="http://www.example.com" />').dialog({
autoOpen: true,
width: 800,
height: 500,
modal: true,
resizable: true
})
How can I close the dialog from withing the iframe?
OK so I put the iframe on the page with display set to none. I open it like this:
on the main parent window I have a function like this:
From within the iframe I call: