Revision 1261
Added by Dietmar over 14 years ago
login_form.php | ||
---|---|---|
56 | 56 |
<td style="width:100px"><?php echo $TEXT['USERNAME']; ?>:</td> |
57 | 57 |
<td class="value_input"> |
58 | 58 |
<input type="text" name="<?php echo $username_fieldname; ?>" maxlength="30" style="width:220px;"/> |
59 |
<script type="text/javascript"> |
|
60 |
document.login.<?php echo $username_fieldname; ?>.focus(); |
|
61 |
</script> |
|
59 |
<script type="text/javascript"> |
|
60 |
// document.login.<?php echo $username_fieldname; ?>.focus(); |
|
61 |
var ref= document.getElementById("<?php echo $username_fieldname; ?>"); |
|
62 |
if (ref) ref.focus(); |
|
63 |
</script> |
|
62 | 64 |
</td> |
63 | 65 |
</tr> |
64 | 66 |
<tr> |
Also available in: Unified diff
fix login_form.php sometimes produce javascript errors in IE