title: Javascript variable to PHP using Jquery AJAX
body: <p>I have the following javascript function</p>
  
  <pre><code>function success_callback(p)
      {
  
          lat = p.coords.latitude.toFixed(2);
          lon = p.coords.longitude.toFixed(2);
  
      }
  </code></pre>
  
  <p>Now I want to transfer both the variable to PHP using Jquery AJAX, I am pretty new to Jquery, I am not able to figure out how to do it. I want to transfer the variables to the same PHP file where this JS code resides. Is that possible ?</p>