To close a window using a button |
<form> <input type="button" value="Close Window" onClick="self.close()"> </form> |
|
To close a window using a (simple) link |
<font face="arial, helvetica" size="-2"><a href="javascript:self.close()" target="_self">Close window now</a></font> |
|
To close a window |
<html> <head> <title>FunctionX Tutorials</title> </head> <body> To close a window using a text link<br> <a href="javascript:window.close();">Close</a> </body> </html> |
No comments:
Post a Comment