This might have something to do with closures, which I am only just
learning about, so if it does can someone shed some light as i would
like to understand what im doing wrong.
Basically im loading a map with some markers on it which come out of a
database and they have some html associated with them which is
basically an update form. The infowindow /s (not sure if i have one or
many in the way ive coded it ) load using the marker.html. When I
close the infowindow i want to save the form as it currently is back
to the html property of the marker that the infowindow is associated
with.
My problem is i cant get the html of the infowindow as it currently
stands when i hit the close button.
Dont be misguided, my problem is not saving the html back to the
marker html property, i can do that just fine manually and the
infowindow will reopen with my saved changes. My problem is getting
the form as it stands in the infowindow when i close the infowindow.
Hope that makes sense.
> ... have you got a link to show us what you've tried?
>
> I tried something similar over here and as expected, it worked fine.
>
> Chris
>