javascript - How to close popups in another html -


i have radio on website openned in popup window, create page have song, want close popup when access page.

the website link http://www.saproject.com.br/

when click in radio link in right of site, music starts, when u click in black banner popup needs close.

i tried use window.opener.close(), dont works.

the radio link open popup;

use

window.close(); 

instead of

window.opener.close(); 

note: able close window if opened using javascript.

and window.opener.close() closes parent window, not popup.


Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -