¡@

Home 

2014/10/16 ¤W¤È 12:02:31

jquery Programming Glossary: closepopup

Close javascript-popup-window from anywhere

http://stackoverflow.com/questions/16525238/close-javascript-popup-window-from-anywhere

mywindow status 1 width 350 height 150 function closepopup my_window.close The problem as soon you leave the page from.. I propose depending on what the problem actually is. 1 closepopup does not work on other pages If you need to close the popup.. google.com mywindow status 1 width 350 height 150 function closepopup my_window.close script a href javascript popuponclick Open window.....

Close javascript-popup-window from anywhere

http://stackoverflow.com/questions/16525238/close-javascript-popup-window-from-anywhere

this basic pop control function popuponclick my_window window.open mywindow status 1 width 350 height 150 function closepopup my_window.close The problem as soon you leave the page from where you opened the popup the function looses its connection.. share improve this question There are three solutions I propose depending on what the problem actually is. 1 closepopup does not work on other pages If you need to close the popup from page B when it was opened from page A the following code.. script function popuponclick my_window window.open http google.com mywindow status 1 width 350 height 150 function closepopup my_window.close script a href javascript popuponclick Open window... a br a href PageB.html Go to Page B a body html PageB.html..