davej Posted December 14, 2012 Share Posted December 14, 2012 (edited) Have an example which shows drag being prevented by having the dragStart event handler return false, but that didn't seem to work for me, at least not in Chrome. http://www.w3schools...draganddrop.asp My question is basically this: if you have several draggable objects that need to be dynamically undraggable, what do you need to do to disallow an attempted drag? Edited December 16, 2012 by davej Link to comment Share on other sites More sharing options...
thescientist Posted December 25, 2012 Share Posted December 25, 2012 per the link it seems like you can target their draggable property <img draggable="true"> Link to comment Share on other sites More sharing options...
davej Posted December 25, 2012 Author Share Posted December 25, 2012 per the link it seems like you can target their draggable property<img draggable="true"> Yes, I guess it is time to try the obvious approach. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now