Share this Page URL

Chapter 17. The Programmable Page: Addin... > Some JavaScript Examples - Pg. 195

The Programmable Page: Adding JavaScripts to Your Pages <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript"> <!-- alert("Welcome to my Web site!") //--> </SCRIPT> 195 Figure 17.1 shows what happens when the user loads your page. Figure 17.1. The JavaScript alert() statement displays a little dialog box like this one. Writing Data to the Page After displaying a dialog box message to the user, the second most common JavaScript chore is to