This is what i thought until i saw my radio buttons keeping their state. On Aug 25, 2:59 pm, "[email protected]" <[email protected]> wrote: > On Aug 25, 6:41 am, scott bradley <[email protected]> > wrote: > > > > > Hi > > > I have an issue where a checkbox in an infowindow loses it's state > > after the infowindow is closed. For example, I click the checkbox to > > perform a task, then close the infowindow. When I open the infowindow > > again the checkbox has reset to unchecked. > > I'm not sure if this is supposed to happen, it doesn't happen with > > radio buttons. > > > The code defining the checkbox is fairly straight forward and the id > > and name are unique. > > <input type=\"checkbox\" id=\"showNodes" + conduitId + "\" name= > > \"showNodes" + conduitId + "\" onClick=\"initShowNodes(" + conduitId + > > ");\" /> > > > Any info appreciated. > > Unless you are doing something strange, the DOM for the infowindow is > recreated when it is re-opened. How do you expect it to maintain its > state unless you write code to do it? > > -- Larry > > > > > Thanks > > Scott
-- 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.
