>
> if (checked = true)
> sets checked equal to true and always evaluates to true, it should be:
> if (checked == true)
>
I didn't look at the context of this code at all, but just a general
comment: Unless you really need to check for the specific value 'true', it's
generally better to omit the comparison entirely:
if( checked ) {
// do something
}
-Mike
--
You received this message because you are subscribed to the Google Groups
"Google Maps API V2" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-maps-api?hl=en.