title: GeoLocation Zip Code
body: <p>I am using the following code for getting location and city, but can't get it to give me the zip code if the person gives me permission. Please let me know if this is possible to do with this code. All it is doing is populating a text field if given permission to access.</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
    if(navigator.geolocation) {
      navigator.geolocation.getCurrentPosition(function(position) {
       $("#location").val(position.address.city+", "+position.address.region);
    });
   }
  </code></pre>
  
  <p></p>