1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
\r
5 <title>Javascript Enhanced Page</title>
\r
8 <form id="form1" action="javascriptEnhancedForm.html" method="post">
\r
10 <label id="labelforusername" for="username">
\r
11 Username: <input id="username" type="text" name="username" />
\r
12 <script type="text/javascript">
\r
13 document.getElementById('username').value = 'Michael';
\r
18 <label for="password">
\r
19 Password: <input id="password" type="password" name="password" />
\r
20 <script type="text/javascript">
\r
21 var z = document.getElementById('password'); setTimeout('try{z.focus();z.select();} catch(e) {}', 1);
\r
26 <input type="submit" value="Submit" />
\r