title: calculate position of a point on image in percentage
body: <p>I am calculating position of a point on a image with the formula below in pixel, where oW is original image width and oH is original image height.</p>
  
  <pre><code>var x = oW * parseInt(document.getElementById('pageX').value - $tagImage.offset().left - 5) / $tagImage.width();
  
  var y = oH * parseInt(document.getElementById('pageY').value - $tagImage.offset().top - 5) / $tagImage.height();
  </code></pre>
  
  <p>Now, I want to calculate same position in percentage so that the point remains responsive. 
  (Sorry, I am a bit weak in maths so need help) </p>