Right.  The only time that getElementById() failed for me was when I 
accidentally had 2 elements with the same id.  Make sure you do not have that 
problem.

Also, have you tried document.form1.pre_absent.disabled=true ?  

Steve

________________________________________
From: Charlie Griefer [charlie.grie...@gmail.com]
Sent: Tuesday, January 13, 2009 12:48 PM
To: cf-talk
Subject: Re: Javascript compatibility question

do you have multiple elements on the page with the same ID?

On Tue, Jan 13, 2009 at 9:17 AM, Scott Stewart <saste...@email.unc.edu>wrote:

> tried that, and no love...
>
> Charlie Griefer wrote:
> > I think what Adrian's getting at is your reference to the elements should
> be
> > document.getElementById('foo'), not document.form1.getElementById('foo').
> > can you give that a shot?
>

--
I have failed as much as I have succeeded. But I love my life. I love my
wife. And I wish you my kind of success.




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317883
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to