Roman: HTML-Cursor setzten (setfocus)???

Beitrag lesen

hallo juha!

<html>
<head>

</head>
<body onLoad="document.personsuchen.login.focus()" bgcolor='#E7F7FF'><font face='arial'>

<form name="personsuchen" method="get" action="/cgi-bin/zeit.cgi">
 <table border="0" cellspacing="0" cellpadding="3">

<tr>
  <td bgcolor="#E7F7FF">Name</td>
  <td bgcolor="#E7F7FF"><input type="text" name="login" size="20" value=""></td>
    </tr>
    <tr>
       <td></td>
       <td><input type="submit" value="Suchen" onClick="self.location.href='/cgi-bin/zeit.cgi'" name="B1"></td>
       <input type="hidden" name="mode" value="person">
    </tr>
    </table>
    </form>

</body>
</html>

kopier dir mal diesen code und probier es nocheinmal!
habs getestet und es geht :o)

mfg Roman