title: How to add a button to InfoWindow?
body: <p>I have the following code and everytime I try to add a button it doesn't work.</p>
  <p>Could someone please show me how to add a button that shows an alert box when clicked?</p>
  <pre><code>var infowindow = new google.maps.InfoWindow({
      content: &quot; &quot;
  });
  google.maps.event.addListener(marker, 'click', function() {
      infowindow.setContent('&lt;p&gt;Event Name: '+this.title+'&lt;/p&gt;' +
          '&lt;p&gt;Event Type: '+this.etype+'&lt;/p&gt;' +
          '&lt;p&gt;Cause: '+this.cause+'&lt;/p&gt;' +
          '&lt;p&gt;Date: '+this.date+'&lt;/p&gt;' +
          '&lt;p&gt;Time: '+this.time+'&lt;/p&gt;' +
          '&lt;button onclick=&quot;myFunction()&quot;&gt; 'Click me'&lt;/button&gt;');                
      infowindow.open(map, this);
    });
  });
  </code></pre>