title: 'onmousedrag' event js
body: <p>I have some code that works each time onmouseclick and continuously onmousemove when I set them accordingly. I am looking for a way to combine the two (i.e. like a click and drag) which I thought would be a simple task but cannot find any simple explanation. The closest I get is drag-and-drop tutorials.</p>
  
  <p>Do I have to call the onmousemove event while the onmouseclick event is triggered? Or is there something really simple I am completely overlooking?</p>