title: How to get maximum accuracy of user's current location
body: <p>I am using this code to get the accurate user's location...</p>
  
  <pre><code>watchID=navigator.geolocation.watchPosition(handleGetCurrentPosition, handleGetCurrentPositionError, {enableHighAccuracy:true});
  
  function handleGetCurrentPosition(location)
  {   
      document.getElementById("lat").value = location.coords.latitude;
      document.getElementById("lon").value = location.coords.longitude;
      document.getElementById("accu").value =location.coords.accuracy;
      document.forms["myform"].submit();
  }
  
  function handleGetCurrentPositionError(){
      alert("Location could not be found.")
  }
  </code></pre>
  
  <p>bt the result i am getting is not accurate.
  Is there any problem the code i am using?</p>