function FecharJanela()
{
if ( navigator.appName.match("Microsoft") )
{
window.open("", "_parent");
window.opener = "";
}
window.close();
}
Fonte: http://189.10.40.20/...m-pergunta.aspx
Comigo funcionou. Nem usei como função, usei no botão que abria um popup:
"... onclick="abrir('index.php?caminho=$caminho', 770, 400);window.open('', '_parent');window.opener = '';window.close();" ..."
nubets's Content
There have been 1 items by nubets (Search limited from 30/03/2023)