1

I have an object which can be dragged and dropped on the screen by a user, and its position is updated to other users in real-time via websocket. If user1 grabs the object and then user2 grabs it, I want to programmatically stop user1 drag, how do I do it?Thank you.

boh
  • 1,477
  • 2
  • 16
  • 35
  • 1
    Could you show us some code please? – Sumner Evans Apr 14 '14 at 01:58
  • @jsve the question can be simplified as: if a user is dragging an HTML object, how can I stop that action programmatically in Javascript? The code is quite long but if this doesn't help explain my question, I'll post it then. – boh Apr 14 '14 at 02:15

1 Answers1

0

Based off your simplification of your question, it seems that this stackoverflow question and answer may be of use to you.

Community
  • 1
  • 1
Christina
  • 138
  • 1
  • 7