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

Beitrag lesen

Hallo,

<html>
<head>

<script type="text/javascript">
   function fokusieren()   {
   document.Formularname.search.focus();
   }
   </script>
</head>

<body onLoad="fokusieren()" bgcolor='#E7F7FF'><font face='arial'>

<form name="Formularname" 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="search" 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>

habs zwar nicht getestet, aber so sollte es gehen.