title: after editing my google map redirect to another page
body: <p>I am working on a Google Map api3, I am adding points on the map and save it to my database this part is working fine now in the end of adding the map and click on save and close I need to redirect to another page which will tell the user thanks you have finished and everything is OK</p>
  
  <p>this is the part responsible for my requirement on Google Map Java script</p>
  
  <pre><code>var url = "manageMap.php?propid=&lt;?php echo $p; ?&gt;&amp;name=" + name + "&amp;address=" + address +
                  "&amp;type=" + type + "&amp;lat=" + latlng.lat() + "&amp;lng=" + latlng.lng();
        downloadUrl(url, function(data, responseCode) {
          if (responseCode == 200 &amp;&amp; data.length &lt;= 1) {
            infowindow.close();
            document.getElementById("message").innerHTML = "Location added.";
          }
        });
      }
  </code></pre>
  
  <p>how I can edit this part to redirect the page after I finish to "Thanks everything is saved and you are finished"</p>
  
  <p>any way to change this line <code>document.getElementById("message").innerHTML = "Location added.";</code> to redirect to another page</p>