Jump to content

Drag&Drop with jQuery UI


Temnis

Recommended Posts

Hey guys!

 

I am messing around with some jQuery Stuff. Now I thought about having some "Draggable" Objects and an "Droppable" Object to drop the "Draggable" stuff into. I also can get the current position of a "Draggable" Object when I drop it.

 

BUT!

 

Is it possible to get all Objects already dropped into the "Draggable" Object? Like something finished I could use?

 

Example:

  • I have a "Droppable" Object.
  • Now I drag&drop some "Draggable" Objects into the "Droppable" Object.
  • Now I push a button.
  • This button calls a function.
  • And inside that function I want to "ask" the "Droppable" Objects:
  • "What is currently inside of you? And where is it?"

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...