AW: [Javascript] Re: <select> focussieren
Matt Barton
javascript at mattbarton.org
Tue Feb 8 07:14:09 CST 2005
You live and learn. Thanks Roger.
M
Roger Roelofs wrote:
> 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
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
>
More information about the Javascript
mailing list