Snippets

Here is your code snippet

Code


Close window with button

Lets a user close the window using a button

<form method="post">
<input type="button" value="Close Window"
onclick="window.close()">
</form>