Print

Open and Close Windows using javascript

Vijay
Written by Vijay. Posted in Java & J2EE on 05 July 2009.
Hot 2382 hits 0 favoured

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

 


Vijay

Author: Vijay

441 21813 3
I am Business Man...
  • No comments found
Powered by CjBlog