Reputation: 535
when we drag over an image, the image become selected. how can i disable this selection using jquery or javascript? I am trying to create a custom image crop script. i tried e.preventDefault()
but it is not working in IE6, please help
Thank you
Upvotes: 4
Views: 4484
Reputation: 1456
There are also some css properties like -webkit-user-select: none; and -moz-user-select:none
Upvotes: 7
Reputation: 12843
You could always just use a existing tool for that or look at the code to understand what it is you are missing.
Upvotes: 1