title: In jQuery how can I set "top,left" properties of an element with position values relative to the parent and not the document?
body: <p><code>.offset([coordinates])</code> method set the coordinates of an element but only relative to the document. Then how can I set coordinates of an element but relative to the parent?</p>
  
  <p>I found that <code>.position()</code> method get only "top,left" values relative to the parent, but it doesn't set any values.</p>
  
  <p>I tried with </p>
  
  <pre><code>$("#mydiv").css({top: 200, left: 200});
  </code></pre>
  
  <p>but does not work.</p>