<html>
<head>
<title>Form Example</title>
<SCRIPT LANGUAGE="JavaScript">
function display() {
DispWin = window.open('','NewWin', '')
DispWin.document.write("<UL><LI>
NAME: " + document.form1.yourname.value);
DispWin.document.write("<LI>
ADDRESS: " + document.form1.address.value);
DispWin.document.write("<LI>
PHONE: " + document.form1.phone.value);
DispWin.document.write("[/list]");
}
</SCRIPT>
</head>
<body>
<H1>Form Example</H1>
Enter the following information. When you press the Display button,
the data you entered will be displayed in a pop-up window.
<form name="form1">
Name: <INPUT TYPE="TEXT" LENGTH="20" NAME="yourname">
Address: <INPUT TYPE="TEXT" LENGTH="30" NAME="address">
Phone: <INPUT TYPE="TEXT" LENGTH="15" NAME="phone">
<INPUT TYPE="BUTTON" VALUE="Display" onClick="display();">
</form>
</body>
</html>