event.preventDefault()
November 8th, 2006 by ailonI was struggling for quite some time trying to prevent Firefox from dragging an image when I wanted to use it as a resizing grip. I was trying to cancel default event using event.preventDefault() method in onmousemove event with no success. Thanks to Michael Foster (from cross-browser.com) at SitePoint forums I now know that it’s onmousedown event where I should’ve canceled the default (dragging) behavior.