title: Change Google Maps Coordinates by "Onclick"
body: <p>I need to change google maps coordinates in the javascript with the href "View Location On Map". The coordinates are in the table (td)</p>
  
  <pre><code>&lt;script type='text/javascript'&gt;
              function init_map() {
                  var myOptions = {
                      zoom: 10
                      , center: new google.maps.LatLng(52.95628079999999, 4.76079720000007)
                      , mapTypeId: google.maps.MapTypeId.ROADMAP
                  };
                  map = new google.maps.Map(document.getElementById('gmap_canvas'), myOptions);
  
                  //1
                  marker = new google.maps.Marker({
                      map: map
                      , position: new google.maps.LatLng(52.95628079999999, 4.76079720000007)
                  });
                  infowindow = new google.maps.InfoWindow({
                      content: '&lt;strong&gt;TEST&lt;/strong&gt;&lt;br&gt;Den helder, nederland&lt;br&gt;'
                  });
                  google.maps.event.addListener(marker, 'click', function () {
                      infowindow.open(map, marker);
                  });
                  infowindow.open(map, marker);
  }
  
                          google.maps.event.addDomListener(window, 'load', init_map);
          &lt;/script&gt;
  
  &lt;table&gt;
                      &lt;tr&gt; 
                          &lt;th&gt;ID&lt;/th&gt;
                          &lt;th&gt;Box&lt;/th&gt;
                          &lt;th&gt;User&lt;/th&gt;
                          &lt;th&gt;Location&lt;/th&gt;
                          &lt;th&gt;Coordinates&lt;/th&gt;
                          &lt;th&gt;View&lt;/th&gt;
                      &lt;/tr&gt;
                      &lt;tr&gt;
                          &lt;td&gt;1&lt;/td&gt;
                          &lt;td&gt;SUEZbox01&lt;/td&gt;
                          &lt;td&gt;Arjan&lt;/td&gt;
                          &lt;td&gt;Den Helder&lt;/td&gt;
                          &lt;td&gt;52.939347, 4.754741&lt;/td&gt;
                          &lt;td&gt;&lt;a href="javascript:void(0)"&gt;View Location On Map&lt;/a&gt;&lt;/td&gt;
                      &lt;/tr&gt;
                      &lt;tr&gt;
                          &lt;td&gt;2&lt;/td&gt;
                          &lt;td&gt;SUEZbox02&lt;/td&gt;
                          &lt;td&gt;Peter Vendrig&lt;/td&gt;
                          &lt;td&gt;Amstelkwartier&lt;/td&gt;
                          &lt;td&gt;52.160309, 6.413578&lt;/td&gt;
                          &lt;td&gt;&lt;a href=""&gt;View Location On Map&lt;/a&gt;&lt;/td&gt;
                      &lt;/tr&gt;
  
                  &lt;/table&gt;
  </code></pre>