title: Keep mouse inside a div
body: <p>I have a div of say 100px,100px dimensions, <code>onmousedown</code> I want to move an object inside this div and want the mouse should not point anywhere else except that div so that my object is placed in the div. Mouse will be back to normal <code>onmouseup</code> . </p>
  
  <p>What should be the javascript to keep the mouse inside that div only?</p>