blob: c5b65760235f6e6c83cbe0dce8e9e3f7c2ae994a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Javascript Enhanced Page</title>
</head>
<body>
<form id="form1" action="javascriptEnhancedForm.html" method="post">
<p>
<label id="labelforusername" for="username">
Username: <input id="username" type="text" name="username" />
<script type="text/javascript">
document.getElementById('username').value = 'Michael';
</script>
</label>
</p>
<p>
<label for="password">
Password: <input id="password" type="password" name="password" />
<script type="text/javascript">
var z = document.getElementById('password'); setTimeout('try{z.focus();z.select();} catch(e) {}', 1);
</script>
</label>
</p>
<p>
<input type="submit" value="Submit" />
</p>
</form>
</body>
</html>
|