|
|
 |
Re: FN-FORUM: Check box problem
date posted 19th March 2008 09:37
>>> How do you check if a Check Box exists using Javascript before you test
>>> if it is checked?
>>>
>>> if (document.getElementById("ALL_Diaries") == true) {
>>>
>>>
>>> }
>>>
>>> doesn't work
>> I haven't had the time to learn Javascript yet but I suspect if the
>> element isn't found a null value will be returned.
>>
>> Try something like:
>>
>> if (document.getElementById("ALL_Diaries") != null) {
>>
>>
>> }
>>
>> HTH
>> James
>>
>>
>
> They were all null even if they existed when I tried - Pam
>
I still can't get this to work - any other ideas?
Thanks
Pam
|
 |
|