AW: [Javascript] Re: <select> focussieren

Roger Roelofs rer at datacompusa.com
Tue Feb 8 07:06:30 CST 2005


Matt,

On Feb 8, 2005, at 7:58 AM, Matt Barton wrote:

> Oh - also, sorry, just noticed:
>
> getElementById() is a method of the document object, not of the form 
> (as far as I'm aware), so instead of:
>
> document.reparatur.getElementById("art").focus();
>
> try:
>
> document.getElementById("art").focus();

Actually I think getElementbyId is a method of the node object, so I 
think it should work either way.


Roger
-------------------------------------------------------
Roger Roelofs                 web   www.datacompusa.com
Datacomp Appraisal Services   web   www.mhvillage.com
3215 Eaglecrest Drive, NE     Email rer at datacompusa.com
Grand Rapids, MI  49525-4593 
  




More information about the Javascript mailing list