title: change content infowindow maps v3
body: <p>I am trying to make it possible to change the content that shows up inside a DIV that is the content of an infowindow. I have been able to change the content from Hello to YO inside the infowindow. The problem is when I close the infowindow and reopen it the updated content reverts back to the original. Below is my code:</p>
  
  <pre class="lang-js prettyprint-override"><code>  google.maps.event.addListener(drawingManager, 'overlaycomplete', function(event) {
        if (event.type == google.maps.drawing.OverlayType.MARKER) {
            //event.overlay.setTitle("Hello");
            var infowindow = new google.maps.InfoWindow({
                content: '&lt;div id="content" onmouseover="updateContent()"&gt;Hello&lt;/div&gt;',
                maxWidth: 10
            });
            google.maps.event.addListener(event.overlay, 'click', function() {
                infowindow.open(map, event.overlay);
            });
        }
    });
  
    function updateContent() {
        document.getElementById('content').innerHTML = "Yo";
    }
  </code></pre>
  
  <p>I basically want to create a default info window and allow the user to input their own text after they place the marke on the page...</p>