/*
JavaScript Unleashed, Third Edition
by Richard Wagner and R. Allen Wyke
ISBN: 067231763X
Publisher Sams CopyRight 2000
*/
<html>
<head>
<title>Online Registration</title>
<SCRIPT LANGUAGE="JavaScript">
function showHelp() {
helpWin = window.open("", "Help", "height=200,width=400")
helpWin.document.write("<body><h2>Help on Registration</h2>")
helpWin.document.write("1. Please enter your product information into the fields.<p>")
helpWin.document.write("2. Press the Register button to submit your form.<p>")
helpWin.document.write("3. Press the Clear button to clear the form and start again.<p>")
helpWin.document.write("<p>")
helpWin.document.write("<form><DIV ALIGN='CENTER'>")
helpWin.document.write("<input type=button value='OK' onClick='window.close()'>")
helpWin.document.write("</DIV></form></body>")
}
</SCRIPT>
</head>
<body>
<h1>Online Registration</h1>
<form method="POST">
<p>Please provide the following product information:</p>
<blockquote>
<pre>
<em>Product name </em>
<input type=text size=25 maxlength=256 name="ProductName">
<em>Model </em>
<input type=text size=25 maxlength=256 name="Product_Model">
<em>Version number </em>
<input type=text size=25 maxlength=256 name="Product_VersionNumber">
<em>Operating system </em>
<input type=text size=25 maxlength=256 name="Product_OperatingSystem">
<em> Serial number </em>
<input type=text size=25 maxlength=256 name="Product_SerialNumber">
</pre>
</blockquote>
<p>
<input type=submit value="Register">
<input type=reset value="Clear">
<input type=button value="Help" onClick="showHelp()">
</p>
</form>
</body>
|