title: Why won't these alerts return in Javascript Google Maps API Geocode?
body: <p>I have the following function with which Geocodes an address and neither of the alerts within the results bit work! I have the exact same code on another instance of Geocoder on my page, and it works fine! Any clues?</p>
  
  <pre><code>function geocoderegion(addressX) {      
    alert("GeocodeRegion running for " + addressX);
    geocoder2.geocode({address: addressX, partialmatch: true }, function geocodeResult(results, status){
      if (status =='OK' &amp;&amp; results.length &gt;0) {
        alert("Geocode ran " + status);
        //return results[0].geometry.location;
      } else {
        alert("Geocode was not successful for the following reason:" + status)
      }
    });
  }
  </code></pre>