That's not true.
The way he's referencing it is by the element name, not id. Otherwise it
would be document.getElementById('AccessID').focus();



On Fri, Sep 24, 2010 at 8:54 AM, Andrew Scott <[email protected]>wrote:

>
> Yes, when you want to reference something like
> document.LoginForm.AccessID.focus() you need to make sure that the ID of
> that element is set to AccessID, you have name set but not ID.
>
> Regards,
> Andrew Scott
> http://www.andyscott.id.au/
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337455
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to