Hi,friends while using HTML tags and javascript i tried to open and close a window using javascript

and i used the below scripts to open and close the windows.

Set the below link as hyperlink  and click on the link to open new window.

javascript:top.open()

Set the below link as hyperlink and click on the link to close the current window.

 

javascript:top.close()


Note:works in IE 6 or Higher Versions

 


Like it on Facebook, Tweet it or share this article on other bookmarking websites.

No comments