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

 

  • No comments found

We are one community

Boddunan.com is a community driven articles and knowledge sharing portal. Members can share their knowledge with other members and visitors of the website and make them-self popular in the massive Internet world.

Boddunan.com is used not only as a platform to share the content and knowledge, but also a useful tool to learn from the vast amount of knowledge shared by thousands of registered users of the website. The content directory is a host of all the articles posted by the community and is available for the visitors of boddunan.com to read and learn from the extensive knowledge,