Hi everybody, I have succesfully created a custom control following this code from the API reference: http://code.google.com/intl/ca/apis/maps/documentation/controls.html#Custom_Controls. Some javascript is triggered by the new button, all working great.
What I would like to do now is to change the text of the button itself from the same javascript it triggers. However, not being specially fluent with the DOM and appendChild methods used in the example, I don't know how to access the text in the newly created control. Would anyone please enlighten me, as to how to access the text in this new control? The button hides/shows a side panel, and I would like the button text to reflect the current state. Thank you. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
