close()
In this chapter you will learn:
window.close()
window.close()
closes the window.
<!DOCTYPE HTML> <!-- ja va2 s .c om-->
<html>
<body>
<script>
//window.close();
</script>
</body>
</html>
Uncomment out the statement to see the action.
Next chapter...
What you will learn in the next chapter:
Home » Javascript Tutorial » Window