title: Google-maps:Triggering event in infowindow
body: <p>Trying to trigger an event in the infowindow..i have the following content string </p>
  
  <pre><code>var contentString = '&lt;div id="content"&gt;'+
             '&lt;div id="siteNotice"&gt;'+
             '&lt;/div&gt;'+
             '&lt;h2 id="firstHeading" class="firstHeading"&gt;'+data.name+'&lt;/h2&gt;'+
             '&lt;div id="bodyContent"&gt;'+
             '&lt;p&gt;'+data.address+'&lt;/p&gt;'+
             '&lt;p&gt;&lt;/p&gt;'+
             '&lt;p&gt;Do You Want to change search location&lt;/p&gt;'+
             '&lt;input type="button" value="click me" onclick="alert(\"infoWindow\")"&gt;'+
             '&lt;/div&gt;'+
             '&lt;/div&gt;'; 
  </code></pre>
  
  <p>here the alert statement is no triggering..Actually i need to implement a event that whenever i click the button i need to store that particular coordinates into local storage
  any suggestions would be  appreciated</p>