use dragstart preventDefault to disable browser default image drag , but it disable my drag event also
问题 I try to prevent the browser default image drag in dragstart, but somehow it disable the drag and dragend event also. Anyway i can disable the browser default image drag , but it will still run the drag and drag end event? Or the only option for be is to use background image? I dont want to do this because I need to change a lot of code because of this. Now I know why everyone using background-image. $("#addObjectBarContainer a img") .bind("dragstart", function(event){ var tmpObjImg = $("<img