After creating some HTML inside a GInfoWindow I don't seem to be able
to then navigate the DOM (starting from my "map_canvas" element) in
order to attach event handlers to my HTML's widgets.
E.g. (using Prototype) the following yields 'undefined':

$('map_canvas').down('input.walker_area_update')

I haven't tried DOM IDs because I'm creating the HTML by cloning some
'template' HTML in a hidden part of my page. After cloning, any IDs
would no longer be unique.

Can I attach event handlers programmatically, or will I have to resort
to having obtrusive event handlers (e.g. onclick="...") hard coded in
the HTML that I'm cloning?

David

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to