title: "$post" Location parameter alternative
body: <pre><code>$.post("location_sample.php",{variable:variable},function(){
     //doing something
  });
  </code></pre>
  
  <p>I tried to set the location path like "localhost:8888/myweb/data/index.php", and it won't post anything, seems that the parameter cannot read full path? it start where the current page path load,</p>
  
  <p>is it possible to set location in full path, so I don't need to make two types of code due to different file location?</p>