I've written an app that puts form fields such as textfields in info
windows. When a user enters text into the textfields then submits the
form the text is submitted with the form which is what I want. But if
the user closes an info window then any content they entered into the
info window is lost when they submit the form. I looked at the DOM
when an info window is closed and it seems that the content is removed
from the DOM when a window is closed. Is there any way to keep the
content in the DOM when an info window is closed? I don't want to
disallow closing info windows. I'd provide a link but my app is
currently local to my home machine only.

Some things I have tried that didn't work:
:- Opening all info windows when the onsubmit event is fired. I don't
know why this doesn't work.
:- Getting the content of all the info windows and adding it to the
DOM by calling the getContent function of each info window when the
onsubmit event is fired.
:- Calling the set function of each info window to set the
'isdomready' property to true when the onsubmit event is fired.

Any help would be greatly appreciated. Thanks.

-- 
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 [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-js-api-v3?hl=en.

Reply via email to