AW: AW: AW: AW: [Javascript] Re: <select> focussieren

Michael Borchers borchers at tridem.de
Tue Feb 8 07:35:49 CST 2005


did you try it yourself?
it won't work in my IE:/

> -----Ursprüngliche Nachricht-----
> Von: Kim Hoogenberg [mailto:kim.hoogenberg at virgil.nl]
> Gesendet: Dienstag, 8. Februar 2005 14:30
> An: [JavaScript List]
> Betreff: Re: AW: AW: AW: [Javascript] Re: <select> focussieren
> 
> 
> Nope like below..
> 
> Hope this helps..
> 
> Greetz,
> 
> Kim
> 
> >this would look like this, i also tried it without the formname,
> >but still the select field isn't focused when loading the page:(
> >
> ><html>
> ><head>
> ><title></title>
> ></head>
> >
> ><body>
> >
> ><form action="" method="get" name="reparatur">
> >
> ><table width="100%">  
> >  <tr> 
> >    <td>
> >	  <select name="art" id="art">
> >	    <option value=""></option>
> >	    <option value="A">A</option>
> >	    <option value="D">D</option>
> >	    <option value="I">I</option>
> >	    <option value="L">L</option>
> >	    <option value="T" selected>T</option>
> >	    <option value="Text">Text</option>
> >	    <option value="F">F</option>
> >	  </select>
> >    </td>  
> >  </tr>
> ></table>
> ></form>
> >  
> >
> 
> <script language="JavaScript" type="text/javascript">
> document.reparatur.getElementById("art").focus();
> </script>
> 
> >_______________________________________________
> >Javascript mailing list
> >Javascript at LaTech.edu
> >https://lists.LaTech.edu/mailman/listinfo/javascript
> >  
> >
> 
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
> 



More information about the Javascript mailing list