shouldn't that be:

 if (document.getElementById('advsPubF1').length > 1){

       document.getElementById('advsPubF').checked = true;


On 10/19/07, Scott Stewart <[EMAIL PROTECTED]> wrote:
> Hey all,
>
>
>
> I've got another weird one.
>
>
>
> How would you check a radio button, based on whether or not text is entered
> in an adjacent text box?
>
>
>
> Here what I did:
>
>
>
> function setDateRangeCheck(){
>
> if (document.getElementById.advsPubF1.length > 1){
>
>       document.getElementById.advsPubF.checked = true;
>
>       }
>
> }
>
>
>
> This is called in a body: onLoad
>
>
>
> The error states that neither advsPubF1 or advsPubF have properties..
>
>
>
> Halp!!!!
>
>
>
> sas
>
>
>
> --
>
> Scott Stewart
>
> ColdFusion Developer
>
>
>
> SSTWebworks
>
> 4405 Oakshyre Way
>
> Raleigh, NC. 27616
>
> (703) 220-2835
>
>
>
> http://www.sstwebworks.com
>
>  <http://www.linkedin.com/in/sstwebworks>
> http://www.linkedin.com/in/sstwebworks
>
>
>
> Boycott
> <http://www.sstwebworks.com/blog/index.cfm/2007/10/16/Boycotting-SysCon>
> Sys-Con
>
>
>
>
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Community/message.cfm/messageid:244705
Subscription: http://www.houseoffusion.com/groups/CF-Community/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5

Reply via email to