Can you include a link to show what you have tried so far?

Thanks

-- Luke


On Thu, Jun 23, 2011 at 9:58 AM, RoyHB <roy.bar...@gmail.com> wrote:

> New to V3 and I'm having some difficulty getting my head around the data
> model.
>
> The innerHTML of a custom control looks like:
>
> <div id="A">
>     some content
>     <div id="B">
>            some other content
>     </div>
> </div>
>
> i.e. there is a <div id='B'> within another <div id='A'> within the
> innerHTML of a custom control.
> I want to modify the innerHTML of div B on the fly, as events are
> triggered.
>
> I can't sort out the method to access and update this data.  Tried the
> simplest thing I could think of -
> *document.getElementById("B").innerHTML*  but that didn't work, it's
> reported as null.
>
> I'd be most appreciative if someone could point me in the right direction
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Maps JavaScript API v3" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-maps-js-api-v3/-/mLlBWTMKMCkJ.
> To post to this group, send email to
> google-maps-js-api-v3@googlegroups.com.
> To unsubscribe from this group, send email to
> google-maps-js-api-v3+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to