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

Issues changing the value of an element in an array in matlab -

php - MySQLi binding parameters in a prepared statement doesn't work unless inserted after "WHERE" -

vb.net - Alternative to the T-SQL AS keyword -