On Sep 11, 2:36 pm, Esa <[email protected]> wrote:
> I think there is a typo. Shouldn't it be "className" instead of
> "class".
>
> ...setAttribute("className",newClass);
Sorry about mis-information. I made some Googling and it seems that
there is a cross browser issue.
IE requires:
setAttribute("className",newClass);
Other browsers:
setAttribute("class",newClass);
A cross browser method is:
element.className = newClass;
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" 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
-~----------~----~----~----~------~----~------~--~---