<html>
<head>
<title>Selecting Text Upon Focus</title>
</head>
<body>
<form name="form1" method="POST">
<h2>Selecting Text Upon Focus</h2>
<p>Username:<br>
<input type=text size=25 maxlength=256 name="Username" onFocus="this.select()"><br>
Browser used:<br>
<input type=text size=25 maxlength=256 name="Browser" onFocus="this.select()"><br>
Email address:
<strong> <br>
</strong>
<input type=text size=25 maxlength=256 name="EmailAddress"onFocus="this.select()">
</p>
<h2>
<input type=submit value="Register">
<input type=reset value="Clear">
</h2>
</form>
</body>
</html>
|