title: How to get latitude and longitude (Chrome mobile)
body: <p>Hey I just want latitude and longitude, but for some reason it does not work in Chrome on my mobile (android), works everywhere else, any clue why...?</p>
  
  <pre><code>&lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=false"&gt;&lt;/script&gt;
  &lt;script&gt;
  function getRedirect(clicked_id){
      var cat = clicked_id;
      if (navigator.geolocation) {
              navigator.geolocation.getCurrentPosition(function(position) {
                  var latitude = position.coords.latitude;
                  var longitude = position.coords.longitude;
                  window.location.href="near_list.php?lat="+latitude+"&amp;lon="+longitude+"&amp;cat="+cat;
              });
      }   
  }
  &lt;/script&gt;
  </code></pre>
  
  <p>Please help..</p>