August 1999
Intermediate to advanced
1488 pages
72h 53m
English
window.home()
The home() method of the Window object simulates the user clicking the Home button on the browser. It takes the browser to the user's specified home page.
Listing 7.545 has a single button that, when clicked, takes the browser to the user's home page.
<html> <body> <form> <h3>Home James!</h3> <input type=BUTTON value="Home" onClick="window.home()"> </form> </body> </html> |
Read now
Unlock full access