JScript Sample:
jscript/email/email.asp
   ASP Script
   Comments or Client-side Script
   HTML and Text

<%@ Language=JScript %>
<html>
<head>
<title>Instant ASP Demonstration Mail System</title>

<SCRIPT  Language="JavaScript">
   function resetInput(Form) {   
   Form.emailaddress.value = "";   
   Form.Password.value = "";
}
</SCRIPT>

</head>
<body background="logo.gif">
<p align="center"><big><big>Instant ASP Demonstration Mail System</big></big></p>
<hr>
<form method="post" action="../../vbscript/email/opt.asp">
<div align="center">   
<center>
<table border="0">   
<tr>     
<td><b>Email Address:</b></td>     
<td><input name="emailaddress" value="
<%= Session("emailaddress") %>"     
size="20"></td>   
</tr>   
</center>   
<tr>     
<td>       
<p align="right"><b>Password:</b></p>     
</td>     
<center>     
<td><input id="password1" name="Password" type="password"     
value="
<%= Session("Password") %>" size="20"></td>   
</tr>   
<tr>     
<td>       
<p align="right"><input name="B2" type="submit" value=" Ok "></p>     
</td>     
</center>     
<td>       
<p align="left"><input id ="reset1" value=" Reset " name="B1" type="button" onclick="resetInput"></p>     
</td>   
</tr>
</table>
</div>
</form>
</body>
</html>


Copyright © 1998-2002, Halcyon Software Inc. All rights reserved.