I\'m trying to use JavaScript drag an image around the screen. I\'ve already written a script that works fine on divs with text, but when I use it on a image it works very inter
Simply add return false at the end of your startDrag function to keep the browser from handling the click event.
return false
startDrag