title: retrieve database from maxmind javascript
body: <p>I am trying to <strong>retrieve country code via maxmind</strong> javascript <strong>but return null why</strong> ?
  ** want to get timezone by country code.**</p>
  
  <p>Once i got country code i want to implament it. i got timezone deta here. but javascript return null</p>
  
  <p><a href="https://github.com/maxromanovsky/php-maxmind-geoip/blob/master/timezone/timezone.php" rel="nofollow noreferrer">https://github.com/maxromanovsky/php-maxmind-geoip/blob/master/timezone/timezone.php</a></p>
  
  <pre><code> &lt;script src="http://j.maxmind.com/app/geoip.js"&gt;&lt;/script&gt;
      &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript"&gt;
      $("#country").html( 'Country: ' + geoip_country_code() );
      &lt;?php $country = geoip_country_code(); ?&gt;
      &lt;/script&gt;
  &lt;div id="country"&gt;&lt;/div&gt;
  </code></pre>